Results 1 to 2 of 2
  1. #1
    brc is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    29

    Pass Value from Report To Query


    I have a Saved query that is pulling data from tables and other Saved Queries. I have a SQL statement built in VBA which pulls from that Main Saved Query and then I set as a reports record source. In VBA I specify criteria one being That a parameter (which is a date), from a form, is between 2 Dates.

    Problem I am having is that one of the Saved queries that is in the Main Saved Query also needs to use that (Date) as criteria also. But I don't know how to get this date to the saved query that is in the Main Query.

    I hope that makes sense.

    Brc

  2. #2
    brc is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    29
    If this needs more clarification please let me know.

    Thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Pass argument to a report from VBA?
    By degras in forum Reports
    Replies: 2
    Last Post: 01-25-2011, 11:13 AM
  2. Pass subform filter to a report
    By dinorbaccess in forum Reports
    Replies: 3
    Last Post: 01-10-2011, 05:34 PM
  3. VBA Pass-through Query with Variable
    By smaumau in forum Programming
    Replies: 0
    Last Post: 12-06-2010, 09:10 AM
  4. Pass-Through Query or ADO, is there a way?
    By Amber_1977 in forum Queries
    Replies: 3
    Last Post: 11-10-2010, 08:56 AM
  5. Opinions on PL/SQL and pass through query
    By thart21 in forum Queries
    Replies: 5
    Last Post: 06-02-2010, 11:08 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