Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Readwrite of cursor
Message
 
To
20/06/2008 13:37:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01325754
Message ID:
01325826
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Sergey,
>
>Thanks for confirming {A cursor cannot change to read only by itself. Maybe it's recreated somewhere?} so I will have to hunt for the guy who recreated my(poor)Cursor. Shall have to make an extensive look with aid of the debugger.
>
>Thanks.
>
>Regards,
>
>Koen
>
>P.S.
>Yes I was aware of the unness. of the combination "readwrite" plus "nofilter". I just added these two for ruling out everything since some function changed the behavior of myCursor. And although it is unness. I dont believe it harms, does it?

try this:

SELECT ..... READWRITE
ASSERT .f. && You need SET ASSERTS ON somewhere before that command

Then open BreackPoint dialog and add:
Type: Break when expression is changed.
Expression: ISREADONLY([YourCursor])

Run :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform