Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Readwrite of cursor
Message
 
To
20/06/2008 12:29:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01325754
Message ID:
01325791
Views:
17
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform