Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable name for output file
Message
From
24/08/1999 13:39:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/08/1999 10:08:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00256539
Message ID:
00257206
Views:
24
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform