Apr 1, 2001 #1 solo7 Technical User Mar 14, 2001 243 NO I have several 'Public' variables the data from which I would like to get on to a report. Is there any way I can get these values into a report ??? Steady ...
I have several 'Public' variables the data from which I would like to get on to a report. Is there any way I can get these values into a report ??? Steady ...
Apr 1, 2001 1 #2 RoyVidar Instructor Jun 16, 2000 6,606 NO Hi! Declare a function in one of your modules to fetch the variable, and then plase the function name as controlsource for the control in your report. Function GetVariable() as "DataType" GetVariable=YourPublicVariable End Function In your report controls controlsource, place; =GetVariable() Roy-Vidar Upvote 0 Downvote
Hi! Declare a function in one of your modules to fetch the variable, and then plase the function name as controlsource for the control in your report. Function GetVariable() as "DataType" GetVariable=YourPublicVariable End Function In your report controls controlsource, place; =GetVariable() Roy-Vidar
Apr 1, 2001 #3 LarryDeLaruelle Technical User May 19, 2000 1,055 US Solo7: If you just want to display the values in the report you can use: Forms!frmFormName.txtFieldName Larry De Laruelle larry1de@yahoo.com Upvote 0 Downvote
Solo7: If you just want to display the values in the report you can use: Forms!frmFormName.txtFieldName Larry De Laruelle larry1de@yahoo.com