H
hughess7
Hi all
I have two continuous subforms both sat on a blank parent form. If a record
is entered (subform1) with days greater than 1, the remainder dates are
populated into a related date table (on subform2) using the StartDate
(ignoring Sunday's).
I have the code working to add the dates.
If the user changes the number of days of the activity, I want the system to
update the related dates. The simplest way I could think of doing this was to
delete any if they exist and recreate the dates again.
What would be the best way to do this?
Use dlookup or dcount matching on the key (SpecID and ReviewDates) then
CurrentDB.Execute "DELETE * FROM to delete them?
Thanks in advance for any help.
Sue
I have two continuous subforms both sat on a blank parent form. If a record
is entered (subform1) with days greater than 1, the remainder dates are
populated into a related date table (on subform2) using the StartDate
(ignoring Sunday's).
I have the code working to add the dates.
If the user changes the number of days of the activity, I want the system to
update the related dates. The simplest way I could think of doing this was to
delete any if they exist and recreate the dates again.
What would be the best way to do this?
Use dlookup or dcount matching on the key (SpecID and ReviewDates) then
CurrentDB.Execute "DELETE * FROM to delete them?
Thanks in advance for any help.
Sue