[AccessD] Accessing Public Variables for use in a report

Julie Reardon-Taylor prosoft6 at hotmail.com
Mon Aug 4 07:15:56 CDT 2003


Susan,

Thanks for answering on a weekend!

My question about public variables stemmed from some variables that I have 
declared in the General section of the code behind a form.  I would like to 
use the value of those variables on a report, and can't seem to get anything 
out of them except zero.  Should I be placing an unbound textbox on the 
report and then setting their value equal to the variable name on the 
report?  I ended up trying that as well as assigning the value in the 
OnFormat event procedure behind the report and neither seems to work.  What 
am I doing wrong?  Do I need to reference the variables differently because 
they are declared behind the form instead of in a separate module?



Julie Reardon-Taylor
PRO-SOFT OF NY, INC.
www.pro-soft.net

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the AccessD mailing list