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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display records based on current date

Status
Not open for further replies.

Herminio

Technical User
May 10, 2002
189
PT
I have a DB that have events that user insert into it, when i display the values form that DB i don't want the events in the past to be displayed, i know that i've to cross the values from the DB field "date" with the current date,but that doesn't meen i know how to do that

Thaks in advance

Herminio, Portugal
 
In your select statement just select everything with a date from today or whenever, something like -

rs.open "select * from events where date >= #" & TODAY & "'",conn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top