Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with GETNEXTMODIFIED()
My save routine contains code like this:
IF !TABLEUPDATE(.t.,.f.,myTable)
=aerror(myarray)
do case
case myarray(1) = 1585 && update conflict
myRecno = GETNEXTMODIFIED(0)
do while (myRecNo<>0)
etc.
This works fine most of the time, but occasionally I get an error 1596 "Table buffering is not enabled." on the line that calls GETNEXTMODIFIED. Table buffering *is* enabled. I can't figure out why the error is generated in GETNEXTMODIFIED but not in TABLEUPDATE. It seems to me that if table buffering were not enabled, the error would show up when I call TABLEUPDATE instead of waiting until the later call to GETNEXTMODIFIED.
Any thoughts?
Thanks, Ross
Suivant
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