i have a database program and i need to print a query when a certain time lasp has accurd in a date length...
i creadted a search query and in the required field i put in the criteria of


from (orderdate >= DATEADD(day, -5, GAETDATE()))

when i run the query i get and error
undefined function 'getdate' in expression

also after i create this and get it working how do you run a query from a command button..

midnightservice


thanx in advance