A Ashkan Registered User. Local time Tomorrow, 05:37 Joined Oct 19, 2004 Messages 14 Oct 27, 2004 #1 I have a table named Contracts. It has the fields Contract ID, Contract Start Date, Contract End Date. I need to be able to produce a query that will contain all current contracts. Any ideas??? Thanks Ashkan
I have a table named Contracts. It has the fields Contract ID, Contract Start Date, Contract End Date. I need to be able to produce a query that will contain all current contracts. Any ideas??? Thanks Ashkan
N namliam The Mailman - AWF VIP Local time Today, 20:07 Joined Aug 11, 2003 Messages 11,685 Oct 27, 2004 #2 "simple" Select from Contracts where [Contract Start Date] <= date() and ([Contract End Date] >= date() or [Contract End Date] is null) Last edited: Oct 27, 2004
"simple" Select from Contracts where [Contract Start Date] <= date() and ([Contract End Date] >= date() or [Contract End Date] is null)
A Ashkan Registered User. Local time Tomorrow, 05:37 Joined Oct 19, 2004 Messages 14 Oct 27, 2004 #3 Thank you