Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you macrocubstitute on a Report?
Message
From
30/06/2000 11:39:14
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
30/06/2000 11:26:23
Brent Knight
Progressive Impressions International
Bloomington, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00387100
Message ID:
00387109
Views:
22
>I have a report where I have set up a field that holds printall.&lcorder. Lcorder is a varible that is passed from a calling form. When I run the report, it gives me a syntax error on that field. Is it possible to macrosubstitute from a report? Lcorder holds a field name that is based on if that fieldname exists in the current table. If it does then lcorder holds that fieldname. If that fieldname is not in the table then it holds a field that is.
>
>Any help would be great
>
>Thanks

Use the EVALUATE() function.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform