Results 1 to 4 of 4
  1. #1
    Seamus59 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2013
    Posts
    34

    passing arrays io a report


    I have created a public variant and defined it as an array. All my functions and procedures seem to be able to access the aray, but my report does not. Can anyone tell me how to pass this information to my report (other than OpenArgs)?

    Or, as my report rolls through a table, I could get this set of values out of a different table, I'm don't know how to access two recordsets in one report.

    The goal is to multiply a set of fields for multiple records in one table by a set of values in single record of another table.

    TableA|Table B
    2 3 4|--|2 2 2
    1 3 5
    3 3 3

    Report
    4 6 8
    1 6 10
    6 6 6

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If the second table contains a single record, you can base the report on a query that includes both tables.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Seamus59 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2013
    Posts
    34

    Awesome

    Quote Originally Posted by pbaldy View Post
    If the second table contains a single record, you can base the report on a query that includes both tables.
    Simple and elegant, thanks.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem, and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 01-22-2012, 02:41 PM
  2. Passing Multiple selection values to a report
    By techexpressinc in forum Forms
    Replies: 7
    Last Post: 01-13-2012, 02:27 PM
  3. Replies: 5
    Last Post: 04-03-2011, 10:24 PM
  4. Passing param. to Report
    By kaledev in forum Programming
    Replies: 5
    Last Post: 01-20-2011, 12:46 PM
  5. Passing parameters to a report
    By elmousa68 in forum Access
    Replies: 0
    Last Post: 12-07-2006, 01:38 AM

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