How to display information from (date A) - (date B)? (1 Viewer)

trizzytt

Registered User.
Local time
Today, 10:00
Joined
Sep 27, 2017
Messages
19
Hello,


I have a section on one of my forms for Profits, and i want to be able to view the profits from 01/01/2017 - 10/01/2017.



How would i go about doing this, and also have the option of it adding up these profits from time A to time.



EDIT:
After researching a little, do i create a querie to do this?






Thank you!
 
Last edited:

pbaldy

Wino Moderator
Staff member
Local time
Today, 10:00
Joined
Aug 30, 2003
Messages
36,125
Yes, you would create a query to do this. If you want to hard-code those dates the criteria would look like:

Between #01/01/2017# And #10/01/2017#

Most of us would use a form to gather the user input. That would look like:

Between Forms!FormName.FromDateTextbox And Forms!FormName.ToDateTextbox
 

kerikeri

New member
Local time
Tomorrow, 05:00
Joined
Oct 9, 2017
Messages
3
I also found this info on the MS Office Support site very useful:

https://support.office.com/en-us/article/Use-parameters-in-queries-forms-and-reports-8209eb5c-1589-42e2-9b20-4181f4c7a356[/url]
 

Users who are viewing this thread

Top Bottom