H
hughess7
I want my database to suggest the next working day to a user for an
appointment, excluding weekends and holidays. I have seen the code at
http://www.mvps.org/access/datetime/date0012.htm but not sure how to utilise
this?
I have the following:-
Tables:
tblHolidays - a holiday table which is keyed on countrycode and dates (E =
France)
Dealer Selection Fr - French data (each country has its own table)
I want to open the recordset (Dealer Selection Fr) and Update NextDate field
value to the next available working day. The system would have to exclude
weekends and any holiday dates against countrycode 'E' in tblHolidays.
The example code off the website uses an array adtmDates for the holiday
dates but not sure how I read my holiday table into this? Sorry I am a novice
when it comes to coding :-(
Thanks in advance for any help.
Sue
appointment, excluding weekends and holidays. I have seen the code at
http://www.mvps.org/access/datetime/date0012.htm but not sure how to utilise
this?
I have the following:-
Tables:
tblHolidays - a holiday table which is keyed on countrycode and dates (E =
France)
Dealer Selection Fr - French data (each country has its own table)
I want to open the recordset (Dealer Selection Fr) and Update NextDate field
value to the next available working day. The system would have to exclude
weekends and any holiday dates against countrycode 'E' in tblHolidays.
The example code off the website uses an array adtmDates for the holiday
dates but not sure how I read my holiday table into this? Sorry I am a novice
when it comes to coding :-(
Thanks in advance for any help.
Sue