Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hmmm opening problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048843
Message ID:
01048926
Vues:
15
Hi Grady,

Use (FileName) IN 2
is safer code, but you don't test if user cancel dialog.
FileName = Getfile("dbf"," Select the file ","Load")
If !EMPTY(FileName)
   Use (FileName) IN 2
endif
or FileName contain any "bad" character (!)

MartinJ


>Ignore this - I solved it myself . . . . sheesh!
>
>I have an app that runs fine on the development machine, but when I install it on a user's machine I get the error "Command contains unrecognised phrase/keyword" I've been tinkering with this for an hour or so, with no success. So, here I am at the well, once again.
>
>Here is the offending code:
>
>
>FileName = Getfile("dbf"," Select the file ","Load")
>Use (FileName) IN 2
>
>I have also tried
>
>FileName = Getfile("dbf"," Select the file ","Load")
>Use &FileName IN 2
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform