Again, I am trying to get a date without the holidays and weekends.
Fields in the table, [DateFreq], [NextDueDate], and [LastMaintDate]. What I am trying to do is, when a user input the [LastMaintDate], the DB calculates the [NextDueDate] based on the [DateFreq] & [LastMaintDate]. The [NextDueDate] will fall only on a weekday that is not a holiday.
For Example: [DateFreq]= 7
[LastMaintDate]= 06/19/02
so, [NextDueDate] should = 06/28/02, skipping the weekends.
I know there is faq181-261 but I don't know how to put it to work for me. Do I just copy and paste it into a modules and name it DELTADAYS??? I've created the tblHolidays table as it says, but have no idea what to do. What exactly do I have to do with all those codes?
Please help...
TIA
Fields in the table, [DateFreq], [NextDueDate], and [LastMaintDate]. What I am trying to do is, when a user input the [LastMaintDate], the DB calculates the [NextDueDate] based on the [DateFreq] & [LastMaintDate]. The [NextDueDate] will fall only on a weekday that is not a holiday.
For Example: [DateFreq]= 7
[LastMaintDate]= 06/19/02
so, [NextDueDate] should = 06/28/02, skipping the weekends.
I know there is faq181-261 but I don't know how to put it to work for me. Do I just copy and paste it into a modules and name it DELTADAYS??? I've created the tblHolidays table as it says, but have no idea what to do. What exactly do I have to do with all those codes?
Please help...
TIA