Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select into cursor question??
Message
De
07/01/1999 20:56:15
 
 
À
07/01/1999 19:55:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00173861
Message ID:
00173889
Vues:
34
>>I think someone ask this before , but once you get your cursor
>>after a " Select fields, into cursor Mycursorx', can I change
>>that cursor (Mycursor) structure somehow, or it is Read-Only
>>always...
>>
>>Mark Oliva
>
>Mark,
>
>Before you select into your cursor, create the cursor with CREATE CURSOR... The cursor will then be read/write. I have never tried modifying the structure of of cursor after it is created, but I see no reason you could not.
>
>regards,

Any time you SELECT...INTO CURSOR, the resulting cursor is read-only, no matter what you do before hand. You can fake it out by USE DBF('thatcursor') ALIAS rwcursor into making a R/W cursor. Your SELECT statement must not be a "filtered-view" so use the NOFILTER clause in your SELECT.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform