Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Readwrite of cursor
Message
 
À
20/06/2008 12:29:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01325754
Message ID:
01325791
Vues:
18
>Sergey!
>
>could you also please be so kind as to provide me with the syntax for
>
>MakeMyCursorReadwrite()
>
>and by the way. thanks for pointing me to isreadonly(), it indeed shows .F. although I created the cursor with "readwrite nofilter" :( :( s*t
>Best regards,
>
>Koen

There is no need for NOFILER when you use READWRITE, VFP will create separate cursor.
SELECT .... INTO CURSOR ... READWRITE
IF ISREADONLY([Cursor])
   *** That should never be true
   USE (DBF([Cursor])) AGAIN IN 0 SHARED ALIAS NewCursor
   USE IN SELECT([Cursor])
   USE (DBF([NewCursor])) AGAIN IN 0 SHARED ALIAS Cursor
   USE IN SELECT([NewCursor])
ENDIF
not tested.
But I never had a problems with READWRITE clause.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform