Selection of date range

A

Anthony Lisanti

I have a small table that covers an entire year of sales

I need to make a way to select he date range, and sales Agent type and
display the pounds purchased for that week.


So I'd like a selection box "enter Date range" (weekly) & type of
Customer Affiliate Domestic, Affiliate international, Domestic
Customers, International Customers.


Should be simple, eh?

Any advice?
 
A

Arvin Meyer [MVP]

Just add a little form with 2 textboxes: txtStart and txtEnd

Then use the following query criteria:

For the dates:

Between Forms!FormName!txtStart And Forms!FormName!txtEnd

For the CustomerType, use a combo box on the form and the following criteria
in the query:

Like Forms!FormName!cboCustomerType & "*"

Which will allow the user to choose a customer, or leave it blank for all
customers. If you want a calendar to pick your dates try the one at:

http://www.datastrat.com/Download/Calendar2K.zip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top