Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro expansion issues
Message
De
18/10/2015 17:46:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01626098
Message ID:
01626112
Vues:
58
>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

better using (m.MyReport)
If macro it's necessary,
put it into string delimiters "&MyReport" ( this is a VFP bug to me ).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform