Re: Scroll through records and get match
- From: "Ken Snell \(MVP\)" <kthsneisllis9@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Jul 2006 18:44:15 -0400
The query's SQL statement to do this would be
SELECT Animal FROM Tbl_Table
WHERE W_C_Date = Date();
Not sure under which scenarios you want to loop through the data? Can you
explain a bit more about your setup and what you want to do?
--
Ken Snell
<MS ACCESS MVP>
"Andrew" <Andrew@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0DF5517E-C204-4F15-A937-17F9C39DE37A@xxxxxxxxxxxxxxxx
Hi,
I have a table (Tbl_Table) in the following format:
W_C_Date Animal
02/07/06 Cat
09/07/06 Dog
16/07/06 Fox
etc
etc
etc
Can someone please provide me with the SQL to loop through and find the
Animal based on todays date. If todays date is 02/07/06 the answer is
Cat.
If todays date is 03/07/06 the answer is Cat. If todays date is 09/07/06
the
answer is Dog.
Thanks in advance
--
Andrew
040706
.
- Follow-Ups:
- Re: Scroll through records and get match
- From: Andrew
- Re: Scroll through records and get match
- Prev by Date: Re: How do I automate Outlook to send an e-mail using VBA?
- Next by Date: Re: ADODB Connection Problem
- Previous by thread: Re: Complex Filter on ComboBox
- Next by thread: Re: Scroll through records and get match
- Index(es):
Relevant Pages
|