Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching for Date

Status
Not open for further replies.

nipchop

Technical User
Jan 22, 2001
28
0
0
GB
Hi,

I am trying to retrieve all records from my database that have today's date. I have tried all possible SQL combinations but none appear to work. Can anyone help?

Nipchop
 
Are you using the database on the web?? If yes then what are you using?? ASP??

If yes here's an easy way:

<% todaysdate= DATE %>

then in your sql string:

vSql=&quot;SELECT QryB1204.Date, QryB1204.[8h00] FROM QryB1204 WHERE (((QryB1204.Date)='&quot; & StartMyDate & &quot;'));&quot;

Hope it'll help... Have Fun...

Sharky99 >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top