Report/Query not selecting specific records

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have a database for tracking miles traveled and fuel purchased in each
state. I have a report based on a query to total miles and gallons for each
state in a quarter. Last quarter, the report worked perfectly. This
quarter, for some reason, it's bringing in all records that have ever been
entered instead of just the previous quarter's records. The only difference
is that I changed the way the report opens. It used to required entering the
beginning and ending dates multiple time. So, I created a form from which to
pull the starting and ending date. I have opened the query on which the
report is based and from there, input the dates in three different formats:
7/01, 7/01/07, 7/01/2007, etc, and it is still pulling all records. Please
give me an idea on how to fix this!! I have a deadline on doing my quarterly
reports & I don't want to have to think about figuring all of this manually.
That will take till next year this time!!
Thank you for sharing your wisdom!
.



Relevant Pages

  • Re: Populating a list -- table structure?
    ... I had made a report already and figured out about adding the ... your responce below, but thanks to your help with SQL, I was able to get the ... It takes a summary from a select query and gives the ... KitID, long integer ...
    (microsoft.public.access.forms)
  • Re: Fields in Label dont give correct information
    ... You need to create a query based on tblRegEvent and tblRegPayment. ... -If your DCountis to count values in your report, ... half the time with very few errors (other than that label problem I had.) ... For example in the Room assignment on the report an idividual will be ...
    (microsoft.public.access.reports)
  • Re: Tips on domain aggregate replacements
    ... This already is a split db, but the users are 400 miles away from the server hosting the data:) They are all running the same copy of the FE locally on a single terminal server via TS/RDP sessions. ... It doesn't seem to have much impact on performance; the report takes just about as long to run if they are all logged in as it does when I am logged on testing it at night. ... I would do DSums from the controls on the report on the data returned by the query. ... The biggest offender is a certain report that needs to Sum a particular complex total for each of the next twelve months (the DSum in VBA was a sideline to this issue) and present these as items on each line of output. ...
    (microsoft.public.access.modulesdaovba)
  • Re: using a form with combo box to input criteria
    ... Candia Computer Consulting - Candia NH ... When you removed the criteria, ... Then your criteria in the query would be... ... query behind your main report. ...
    (microsoft.public.access.forms)
  • Re: using a form with combo box to input criteria
    ... Candia Computer Consulting - Candia NH ... When you removed the criteria, ... Then your criteria in the query would be... ... query behind your main report. ...
    (microsoft.public.access.forms)