counting the days

SAMZIE

Registered User.
Local time
Today, 03:49
Joined
Nov 18, 2005
Messages
21
could someone please help me. ive tried all sorts of things and now im loosing the will to live.
under the data protection act i have 40 days to produce requested files in a hospital. the problem is that my little database that has been working away for 2 years is not capable of flagging up any files that are gone over the limit.

i need to run a query that will bring up all files not completed in the past 40 days. or reaching the forty day limit.

ive tried <now()-40 or <date()-40 in the critieria of the date rquested field. ive also tried kicking the machine when my boss isnt looking. that didnt work either.

im sure this aint rocket science.

samzie
 
What do you get when you use < (Date()-40)?
 
ken, you can marry my eldest daughter, i will give you ten thousand sheep and my grandads war medals. your name will go down in data protection act history.

im not sure why that worked but many thanks

yipeeeee!
 
Ha... ! Thats funny...

Glad you got it to work...
 

Users who are viewing this thread

Back
Top Bottom