Information générale
Catégorie:
Codage, syntaxe et commandes
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.
>*
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement