Solved

Add Search form

Posted on 2013-10-25
7
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

730 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