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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.