Using the statement below....
SELECT [Exhibitor].[Exhibitor_Ref], [Exhibitor].[Exhibitor_Name], [Exhibitor].[Tel]
FROM Exhibitor INNER JOIN Booking ON [Exhibitor].[Exhibitor_Ref]=[Booking].[Exhibitor_Ref]
WHERE [Booking].[Booking_Status]="Provisional" And [Booking].[Date_Inserted]<=DateAdd("d",-7,Date());
I wish to compare the dates of Date_Inserted and the range of the system date [Date()] and the preceding 7 days.
This statement seems close to the answer, but doesnt quite work.
Also, if the current date steps back from say the 3rd of the month, will the calendar automatically step the month back too?
Thanks
SELECT [Exhibitor].[Exhibitor_Ref], [Exhibitor].[Exhibitor_Name], [Exhibitor].[Tel]
FROM Exhibitor INNER JOIN Booking ON [Exhibitor].[Exhibitor_Ref]=[Booking].[Exhibitor_Ref]
WHERE [Booking].[Booking_Status]="Provisional" And [Booking].[Date_Inserted]<=DateAdd("d",-7,Date());
I wish to compare the dates of Date_Inserted and the range of the system date [Date()] and the preceding 7 days.
This statement seems close to the answer, but doesnt quite work.
Also, if the current date steps back from say the 3rd of the month, will the calendar automatically step the month back too?
Thanks