previus record

alkrm

Registered User.
Local time
Today, 20:27
Joined
Aug 13, 2003
Messages
39
i have a query that compare between two working days.
in order to compare between the current date and previous working date am using this in the criteria at the previous working date field :" [current date]-1"
the problem comes with the Holidays and the week ends.
where "[current date]-1" is wrong in this case. Cause there is no fields or these (dates,records) "Holidays or Weekends" are not exist in the table.

is there is any function that let u select the Previous Record of the [ current date ]to be inserted in the criteria of the previous date.?


:confused:
 
How about selecting those records where the date is less than today, and find the MAX.
 
Nice Idea , Neileg...works fine.

thanks
 

Users who are viewing this thread

Back
Top Bottom