Solved

Add Search form

Posted on 2013-10-25
7
324 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
Comment Utility
test this, select the date from the combo box at the header
CashRevised.accdb
0
 

Author Comment

by:colin911
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:colin911
Comment Utility
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
Comment Utility
ok, try this..
CashRevised.accdb
0
 

Author Comment

by:colin911
Comment Utility
That's exactly it!  Thanks!
0
 

Author Closing Comment

by:colin911
Comment Utility
thanks for a very speedy solution!  Great help!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

771 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