Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is not shouting. Error: SELECT ... INTO TABLE
Message
De
07/09/2005 16:42:11
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01047494
Message ID:
01047505
Vues:
9
I put the NOFILTER on the end of the SQL that creates the crsAcctContDeleted cursor and it works. Thanks! But, why did it work?

>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
>>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform