I have 2 tables joined by a Date field called say 'StartDate'.
Now this 'StartDate' should check against a 3rd table having 2 Date fields say 'FromDate' and 'ToDate' and see whether it falls between those 2 dates.
If 'Yes' then pick a column value from 3rd table and use that value as a divisor...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.