Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How sent data to report's variables

Status
Not open for further replies.

FoxJunior

MIS
May 27, 2002
12
ID
I've created a report and the report is contained a local variable that i create from the report form. Now i want to fill the variable with data from form. Do you know how can i sent data to report form variable from form?

Thank's
 
Try making it public instead of Local.
From the help file:

Items within VarList are separated by commas. Local variables and variable arrays can be used and modified only within the procedure or function in which they are created, and cannot be accessed by higher- or lower-level programs. Local variables and arrays are released once the procedure or function containing the local variables and arrays completes execution.


So your local variable go out of scope when you call your report. A public variable will stay available.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top