Hi,
I am building a database for work on ACCESS 2007, although will convert it to ACCESS 2000 due to our archiac computer system.
The database will calculate the next quarter (from today's date) for a date previously entered on a table ( [ss_WIRB_IRB_2_Approval]![Date2Approved] ).
I have tried the following:
Review Due:
Year([ss_WIRB_IRB_2_Approval]![Date2Approved])*4+DatePart("q",[ss_WIRB_IRB_2_Approval]![Date2Approved])=Year(Date())*4+DatePart(
"q",Date())+1
which returns "0", which I find very perplexing. Does anyone see my flaw?
To complicate matters, I want to push the Review DUe to the next Monday if it happens to fall on a weekend and to the next workday if it happens to fall on a weekend. I have found a script that could be incorporated for weekends, although I am not sure where to put it and I don't know what the ?? would be:
iif(datepart (“w”, date) <= ?? , date +1, date)
I'm primarily using the wizard, although I know a little SQL.
Any help would be greatly appreciated.
Thanks!