Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor buffer error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00931299
Message ID:
00931301
Views:
17
Hi,
What returns with GETNEXTMODIFIED(0)? 0?

Denis.

>I am having a problem with one line of code. The cursor "c_pssoln" holds the lines for a sales order. About once a week or so we get an error saying that the cursor contains uncommited changes when I'm sure there are none. I even put a line before the CursorSetProp() to revert any changes but I still get the error. This only happens, I estimate, about once every 200 or so orders. The users are up in arms because it causes the program to crash and they have to restart it. The code is in a prg, not an scx.
>Any ideas anyone?
>TIA
>
>*
>* added tablerevert in case any changes were somehow left
>=TableRevert(.t., 'c_pssoln')
>=CursorSetProp('Buffering', 1, 'c_pssoln') <--- LINE CAUSING ERROR.
>mform.grdLines.Enabled = .f.
>*
Previous
Reply
Map
View

Click here to load this message in the networking platform