Help - DateAdd problem

apugh1971

New member
Local time
Today, 16:31
Joined
Jul 9, 2004
Messages
6
I have a database containing clients with different service schedules (Monthy, Quarterly, etc) I need to calculate the next service date based on their service schedule and an effective date. Any suggestions would be helpful.
 
Do you have a table for service schedules?
 
Yes. I have a separate table containing the service schedules. When entering the service schedule for each client. The field is linked as a combo box to my service schedule table. The effective date is different for each client
 
I'd add two extra fields: Duration and Period

Duration would store numbers
Period would store text representations of date periods (d, m, yyyy, q, etc)

In a query, you can use DateAdd([Period], [Duration], datefield) to get the date you want.
 

Users who are viewing this thread

Back
Top Bottom