Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a variable to store an object name
Message
From
05/06/1997 08:54:43
 
 
To
04/06/1997 20:33:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00035059
Message ID:
00035149
Views:
50
>>>I wish to run the following line of code
>>>
>>>REPORT FORM REPORTNAME TO PRINTER
>>>
>>>where REPORTNAME is a variable containing the name of the report. Is there a function which will locate the contents of reportname
>>
>>REPORT FORM &REPORTNAME. TO PRINTER
>
>Name substitution will work here, and is considered better code:
>
>REPORT FORM (lcReportName) TO PRINTER

Macros are universal in VFP, so I consider them as better code.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform