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!