Link to home
Start Free TrialLog in
Avatar of colin911
colin911

asked on

Add Search form

HI All!

I have a simple Access DB with a form bound to a table (I have attached it).  The form reports various figures that a cashier reports each day.

The form is very useful because it makes calculations on the fly based on the values entered which help us identify discrepancies in the cash reports.  But if I were to use this form, it will become difficult to navigate to the proper if after a while I wanted to look at a specific day, so I am looking for a way to add search criteria to list the entries for a particular day using a date picker, then select the entry from a list that populates based on the search date and be taken to that record.    I'm thinking something in the header of the existing form, but open to suggestion.

The attached DB is pretty much one of my only Access creations, so any advice will help.  thanks!
Cash.accdb
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

test this, select the date from the combo box at the header
CashRevised.accdb
Avatar of colin911
colin911

ASKER

thanks for the quick reply.  This is very close to what I'm thinking, but what happens once there are hundreds of days of entries after a year?  would it be possible to enter a date (using a date picker) in the field at the top, and once picked, it shows all the results that have that date?
try this, to see the calendar, click inside the textbox
hit tab after selecting a date from the calendar besides the text box
CashRevised.accdb
The date picker works great, but:

1.  the records are not necessarily entered in chronological order and
2. there are often several records for the same date

so, if I put in a date in the WORK DATE field, I get taken to the first record, but what I am looking for is a list of records that match that date in the dropdown (I guess the CASHIER field should show up in the results too).  So if record 1 had a date of OCT 24th and record 8 also had the same date, I would not realize that htere are several records with teh same date so the search may not find exactly what i need.
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's exactly it!  Thanks!
thanks for a very speedy solution!  Great help!