By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,918 Members | 1,923 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,918 IT Pros & Developers. It's quick & easy.

Query = > today

P: n/a
I'm trying to create a query that will show only the records that has a date
of today or after in the date field (consequently my results would change
everyday).

I tried >=#today# but that didn't work.

Is there a way to do this? If so how?

Thanmks.
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Sorry, I posted this to the wrong group!

"Glenn" <no****@yahoo.com> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
I'm trying to create a query that will show only the records that has a
date of today or after in the date field (consequently my results would
change everyday).

I tried >=#today# but that didn't work.

Is there a way to do this? If so how?

Thanmks.

Nov 19 '05 #2

P: n/a
Even though its a wrong group, I'd like to put in ur answer here so that
others who might stumble across this discussion thru google can benefit.
You can use the function GetDate() is T-SQL, or if you are passing the data
from the UI, you can get the data usig the functions Date.Today()
Hth...
R. Thomas

"Glenn" wrote:
Sorry, I posted this to the wrong group!

"Glenn" <no****@yahoo.com> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
I'm trying to create a query that will show only the records that has a
date of today or after in the date field (consequently my results would
change everyday).

I tried >=#today# but that didn't work.

Is there a way to do this? If so how?

Thanmks.


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.