What if you added NOFILTER to the end of the SELECT command? Is SAS70_Missing_Deleted_Transfers a table or a cursor? If a cursor, how was it created?
>Like this:
>
>
>SELECT AcctCont.* ;
> FROM AcctCont ;
> WHERE DELETED() ;
> INTO CURSOR crsAcctContDeleted
>
>
>Where AcctCont is a table.
>
>
>>From VFP Help file:
>>
>>
You have tried to use a repackaged cursor as a source for another SELECT statement.
>>
>>Some cursors cannot be used in successive queries.
>>
>>Use the INTO TABLE clause of the SELECT - SQL statement instead.>>
>>I am not sure what a repackaged cursor is. How did you create that cursor?
>>
>>>I'm getting the error "'CRSACCTCONTDELETED' must be created with SELECT...INTO TABLE." on the SQL below. crsAcctContDeleted is an open cursor. What's up with that?
>>>
>>>
>>>SELECT crsAcctContDeleted.* ;
>>> FROM crsAcctContDeleted ;
>>> WHERE crsAcctContDeleted.iTransact IN (SELECT RefID FROM SAS70_Missing_Deleted_Transfers) ;
>>> INTO CURSOR crsTestAcctCont
>>>
Mark McCasland
Midlothian, TX USA