Forum Discussion

IliasKatsis's avatar
IliasKatsis
Icon for Helper I rankHelper I
4 years ago
Solved

Check if a date is between two others from another table

Hello,

I have this model which concerns transactions and marketing campaigns. 

I want to know how is it possible to check if transcation date from transcactions table is between start and end date from Campaigns Table. Related function is not working, therefore i cannot set up the if statements.

 

Thanks!

2 Replies

    • IliasKatsis's avatar
      IliasKatsis
      Icon for Helper I rankHelper I

      Hello again.. There is another issue. Every coupon id from the transcations table is included to some campaigns. Each campaign has a specific number of coupon id. Campaign details is the table to take this information. How is it possible to combine the start and end date from my previous question with the constraint of that the coupon id must be included to a campaign id.

       

      Thanks