Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable name for output file
Message
De
24/08/1999 13:39:14
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
24/08/1999 10:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00256539
Message ID:
00257206
Vues:
25
>Cetin-
>When I run the "lcvar = eval(file.field)" line, an error comes back stating that "variable not found". Any ideas what is creating this message?

This means it's supposing that the field contains an expression which would mean something in Fox; since it's only one word, Fox tries to evaluate it as a variable, and can't find it. If the field contains an actual filename, you should omit the Eval() and say

lcVar=file.field

If this is supposed to be a filename and doesn't contain an extension, you'd better say lcVar=AllTrim(file.field), else you may end up with something like "Some .txt" - which would probably create "some.txt", but then you wouldn't notice that the name doesn't completely match what it says in the table.

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