>>Is nLevel local variable?
>Yes, it's defined with LPARAMETERS
>
>In the next release I will reneme it to lnLevel to match VFP naming convention which I really never use)))
Don't forget about m. <g> You're using cFile, which very likely could be a field name in the table.
If it's not broken, fix it until it is.
My Blog