Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Creation for database pathname
Message
De
14/07/1998 16:54:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116745
Message ID:
00117326
Vues:
18
>lcDir = Thisform.text1.Value + 'eo.dbf'
>IF FILE(lcDir)
> SET SAFETY OFF
> *-- save in table
> gacPath[1] = Thisform.text1.Value
> lcFname = m.home + 'config'
> SAVE TO &lcFname ALL LIKE gacPath*
> SET SAFETY ON

Run this with debugger open, and keep checking for values of all this:

> gacPath[1] = Thisform.text1.Value
> lcFname = m.home + 'config'
> SAVE TO &lcFname ALL LIKE gacPath*

Specially check whether lcFname contains a valid path/filename, and if the array gacPath has been dimensioned.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform