Solved

Add Search form

Posted on 2013-10-25
7
329 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

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.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

695 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