>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?
Paul,
In my original message it was :
lcThisASCIIName = eval(field(1))
field(1) would return something like "First_name" assuming first field is First_name. Eval(field(1)) would return the value stored (interpreted as eval("First_name")) ie: "Paul".
In the same manner if you use eval(file.field) then FP tries to match File.field value with a variablename (seeks a variable named "Paul"). If you're using fiel.field, do not use eval. ie:
You have table named "myTable" and its first field is first_name. Also suppose current record first_name is "Paul".
eval(field(1))
myTable.First_name
would both return "Paul".
Cetin