Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with GETNEXTMODIFIED()
Message
De
19/05/1997 16:54:06
 
 
À
19/05/1997 11:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032777
Message ID:
00032861
Vues:
39
>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

In your code, you are using the workarea parameter in your TABLEUPDATE() but not in your GETNEXTMODIFIED(). Maybe the current workarea is not "myTable" (ie. add "myTable" to GETNEXTMODIFIED()).

-Doug-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform