Hi.. Need help on the following situation
I Have fields named Start date and End date . I want to have the next start date will only be possible after 3 days the previous end date.
Appreciated your help
thanks
adar
Hi.. Need help on the following situation
I Have fields named Start date and End date . I want to have the next start date will only be possible after 3 days the previous end date.
Appreciated your help
thanks
adar
Previous end date for what - of all records in table, for an employee, customer? Use DMax to get the maximum date for whatever criteria is relevent then calculate the start date.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Is actually for training recod.each employee has a start date and end date for each courses enrolled and must have a 3 days lapse before can enroll the next one. How is the formula for dmax?
Access Help has guidelines on data aggregate functions (DSum, DCount, DAvg, DMax, DMin). General form is:
DMax("fieldname", "tablename", "criteria")
Criteria is an expression like the WHERE clause of an sql statement.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.