Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Filtering Help

Posted 17 Jun 2002 21:25:25
1
has voted
17 Jun 2002 21:25:25 Phuc Ngo posted:
Hi!

I'm trying to create an event DB. I have a form which take in the data of
the event, title, and information about the event. Once submited it will
send to an Access DB. My question is, how can I get it to display just the current event and from today and on ward?

Thanks!
-Dave

Replies

Replied 18 Jun 2002 01:57:02
18 Jun 2002 01:57:02 Andrew Watson replied:
it depends on what you mean.......

if you just want to select events that dated today or later then simply use...

SELECT * FROM tblEvents WHERE EventDate >= Date()

but what do you mean by current event, do you mark this as current yourselves or what?


Cheers

Leed

:: Son, im Thirty.... ::
Replied 18 Jun 2002 22:26:04
18 Jun 2002 22:26:04 Phuc Ngo replied:
Thanks, that did it.
-Dave

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
it depends on what you mean.......

if you just want to select events that dated today or later then simply use...

SELECT * FROM tblEvents WHERE EventDate &gt;= Date()

but what do you mean by current event, do you mark this as current yourselves or what?


Cheers

Leed

:: Son, im Thirty.... ::
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic