G
Guest
Hi, I have a table of records which I want to use to add data to a seperate
itinerary table. I have a yes/no field and I know I can create an append
query to add all records which have been selected (yes chosen), but my
question is how to deal with the dates.
Currently I have a field which states number of days the activity is to take
place, for the purposes of the itinerary and other reports I think I need to
have one record per day though, eg if an audit lasts 4 days I need to create
four records with all data the same except for the date ? I presume I will
have to add the records via code but I am not sure on how to do this. Would I
open the itinerary recordset and then create a loop using the number of days
as the count and just keeping adding one to the date field?
Thanks in advance for any help.
Sue
itinerary table. I have a yes/no field and I know I can create an append
query to add all records which have been selected (yes chosen), but my
question is how to deal with the dates.
Currently I have a field which states number of days the activity is to take
place, for the purposes of the itinerary and other reports I think I need to
have one record per day though, eg if an audit lasts 4 days I need to create
four records with all data the same except for the date ? I presume I will
have to add the records via code but I am not sure on how to do this. Would I
open the itinerary recordset and then create a loop using the number of days
as the count and just keeping adding one to the date field?
Thanks in advance for any help.
Sue