Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

conditional relationship on date criteria

Hi, I need to create a complex relationship between two tables, AGGR and OFF based on dates. Basically the relationship between AGGR[COD_PROM] and OFF[codprom] should only occur if AGGR[date]>= OFF[startdate] and AGGR[date]<=OFF[enddate].

How can I stabilize this relationship? What code should I write? Thank you!

3 Replies