General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only