Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2003
    Location
    Austin, Texas
    Posts
    2

    Unanswered: Accessing Arrays in other objects...

    I have a form that takes data from textboxes and reads and extracts data (via SELECT)from a table in order to populate a report and print it. I'm using a loop to read the data into an array in the form, but when I try to put the data into an array that is in the report code area, the code written in the form cannot see the array in the report code. I've tried to place the array in the form, but the array is comprised of textbox objects in the report.

    I''ve used "Reports!Reportname.Controls!Textbox.value" as the reference in the array when I include it in the form code, but it still cannot see the array.

  2. #2
    Join Date
    Feb 2003
    Posts
    3

    Re: Accessing Arrays in other objects...

    Could you get around this by making the array in question a global variable rather than a local one?

  3. #3
    Join Date
    Feb 2003
    Location
    Austin, Texas
    Posts
    2

    Smile

    Thanks for the reply. I figured it out by bringing up the report in design mode and writing to it before I executed the Printout command.

    jnp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •