Hi folks:
I have a table called tblAssets with items which have an active start month, an active life (in months), and the end month [start month + active life]. For example an item may have a start date of 2, a life of 36 and an end month of 37. I have another table which details these months ie. Month 1 = November 1998, Month 2 = December 1998 etc.
Can anyone tell me how I can automatically create another table from this informationwith all the months in tblMonths, showing the month number as a heading, the Asset Id as the row, and giving a checkbox tick underneath the heading each month where the item is active?? I have a junction table, but want to be able to update it automatically…. I suppose what I am trying to reach within the junction table is that If an asset Id is active in month 1 (or 2 or 3) then I want a value of true. Therefore a conditional statement would be something like (if [1] is in (Between [StartDate] and [EndDate], True, False). Unfortunately I can’t really get there…
Marion