>Is there an easy way to determine if a field exists in a cursor?
>
>I tried VARTYPE(fieldname), but if the field isn't there, I get an error.
>
>Thanks
>
>Kirk
TYPE() is the function you want you can even include the alias inthe type clause if the cursor isn't selected.
TYPE('ac_cursor->field') <> "U"
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers