Results 1 to 2 of 2

Thread: referenceing a datareport when the name is in a variable

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Location
    Pueblo colorado
    Posts
    4

    referenceing a datareport when the name is in a variable

    I need to allow a user to select a datareport (to display) from a listbox.

    The problem is I do not know how to reference the datareport name from a variable.

    the report name is rptOne, rptTwo, rptThree, etc based on which line of the list box the user selects.

    the method I want to use is rptOne.Show

    How do you reference the datareport when the name is in a variable. In this case it is in listBox(listIndex)

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: referenceing a datareport when the name is in a variable

    Moved to reporting section.

Posting Permissions

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



Click Here to Expand Forum to Full Width