Did you declare the varible at the beginning of the prg, would appear it is interpreted as a file name i.e. local btype, other_varibles
Can you post the offending line of code.
>I'm getting this error: "file access is denied BTYPE". BTYPE is a variable name, not a table name. Why is this happening?
Regards N Mc Donald