Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering Problem
Message
De
10/02/2000 11:32:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Buffering Problem
Divers
Thread ID:
00330075
Message ID:
00330075
Vues:
67
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform