>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.