Forms

F

Froto

How would I need to code a command button to search my
database for records that have certain fields filled in.
I need to search by present date. So only records with
certain values that were submitted on present date.

Thanks in Advance.
 
J

John Vinson

How would I need to code a command button to search my
database for records that have certain fields filled in.
I need to search by present date. So only records with
certain values that were submitted on present date.

Thanks in Advance.

A Command Button? Why not a Query? (You can open a query using a
command button, but it's the query which searches the database).

Create a Query based on your Table. Select the fields that you want to
see. On the Criteria line under the date field put

=Date()

to select those records where the datefield contains today's date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top