Solved

Add Search form

Posted on 2013-10-25
7
325 Views
Last Modified: 2013-10-25
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
0
Comment
Question by:colin911
  • 4
  • 3
7 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 39601033
test this, select the date from the combo box at the header
CashRevised.accdb
0
 

Author Comment

by:colin911
ID: 39601057
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?
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 39601101
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
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:colin911
ID: 39601118
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.
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 39601139
ok, try this..
CashRevised.accdb
0
 

Author Comment

by:colin911
ID: 39601161
That's exactly it!  Thanks!
0
 

Author Closing Comment

by:colin911
ID: 39601163
thanks for a very speedy solution!  Great help!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now