>How do I test to see if a cursor was created from an SQL statement without throwing an error?
Cursor is always create if INTO CURSOR clause is specified. The _TALLY system variable stores the # of records in the cursor. You can use NOFILTER clause if you want to make sure that cursor created isn't a filtered view of the source table.
--sb--