Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    IrogSinta is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    103

    There's something else going on in your database that I'm not seeing here. Can you make a copy of your database but only include a small sampling in the tables along with the queries you use. Just make sure there is no private data included such as peoples names.

    Ron

  2. #17
    jjz0512 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    55
    I still haven;t been able to creation this report, but I would also need help on how the query is developed in generating the criteria for the selecting dates. I use this as criteria; >=#7/25/2015 12:00:00 PM# And <=#7/26/2015 11:59:00 PM#. And it work fine, but need to change daily. How can i use a day before the sysdate for the first date in the criteria and sysdate for the second date, both combned with the times of the respective dates.

    BTW, Here's a sample of what I'm trying to build again. The primary Query 1, that has all the MRNs. Query 2 also has all the MRN's, but can also have + or - the numbers of records found in Query 1 per MRN. Query 3 might have all MRNs, but not required and also + or - the number records found in Query 1 per MRN.

    I have all the queries have unique MRN in all 3, but returning 18 records for MRN 784168942, in stead of only 3. 2 records in query 1, 3 records are found in query 2 & 3. Here's a copy of the output for all 3 queries;
    MRN Sub Location Product Name Unit # Product # Issued D/T CXR Order D/T CXR Image D/T
    942 CT11 Red Blood Cells (Crossmatch RBC) W084915001763 E0382V00 06/09/15 06:40 06/09/15 08:20 06/09/15 08:20
    942 CT11 Red Blood Cells (Crossmatch RBC) W084915001763 E0382V00 06/09/15 06:40 06/09/15 09:10
    06/09/15 10:03


    I hope my post of these 2 issues in clear and understandable.

    Thanks for all your help!

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Consider:

    Between Date()-1+#12:00:00 PM# And Date()+#11:59:00 PM#
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exporting Multiple Queries to a single Text File
    By sam.eade in forum Import/Export Data
    Replies: 6
    Last Post: 05-13-2014, 09:24 AM
  2. Queries with multiple tables to create report
    By Solstice in forum Queries
    Replies: 1
    Last Post: 09-22-2011, 02:23 PM
  3. Replies: 7
    Last Post: 08-05-2011, 10:59 AM
  4. Create Multiple Charts from Single Table
    By Catch Wrestler in forum Reports
    Replies: 0
    Last Post: 06-17-2010, 08:33 AM
  5. Replies: 0
    Last Post: 11-23-2009, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums