Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro expansion issues
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01626098
Message ID:
01626101
Views:
61
>I am now happily using WIN 10 if that matters.
>
>I I have a new install of VFP9 on this new box.
>
>This time, I left the spaces in the folder named "Visual Foxpro Projects".
>
>Yesterday and today an error popped up I have never before experienced in this old program. Error #36.
>
>Yesterday it was on a do form command, and today it was on a report form command. In both cases I have stored the form name or report name in an mv and then use the "&" to expand the mv.
>
>As in report form &MyReport to printer prompt or ;
>do form &MyForm with X,Y,Z to m.MyReturnValue.
>
>I solved the problem by using parentheses around the mv rather than the "&".
>
>The age old question would be, Why all of a sudden I would be faced with these errors?
>
>Did I forget one of the service packs or something? My VFP 9 version number is: 09.00.0000.5815.
>
>
>Thank you in advance,
>
>Gary De Lecce

I never use macro if I can use name expression. E.g. if do form (myForm) ... works, then what's the point of writing anything else?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform