Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GETNEXTMODIFIED()
Message
From
19/05/1997 16:54:06
 
 
To
19/05/1997 11:52:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00032777
Message ID:
00032861
Views:
37
>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-
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform