Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering Problem
Message
From
10/02/2000 11:32:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Buffering Problem
Miscellaneous
Thread ID:
00330075
Message ID:
00330075
Views:
68
I have a weird situation in which my program runs fine from the project, yet I get a 1596 error "Table buffering not enabled" message when running the .exe. The code in this routine is as follows:

set multilocks on
lSuccess=CURSORSETPROP("Buffering", 5, "selhdr")
IF lSuccess = .T.

ELSE
=MESSAGEBOX("Buffering NOT successful!",0,"Operation Status")
ENDIF
lSuccess=CURSORSETPROP("Buffering", 5, "seldetail")
IF lSuccess = .T.

ELSE
=MESSAGEBOX("Buffering NOT successful!",0,"Operation Status")
ENDIF

dodefault()

THe error message states "You have attempted to use the GETNEXTMODIFIED( ) function, which requires table buffering to be enabled.
Enable table buffering or use a different function."

The form BUFFFERMODE property is set to Optimistic and the program executes correctly if I run it from the project. Is there something else I should be aware of? Any assistance would be greatly appreciated.

Barry
If at first you don't succeed......SET STEP ON!
Next
Reply
Map
View

Click here to load this message in the networking platform