Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Error when saving with BufferMode 5
Hi:
I’m using a local view with Buffer Mode = 5 (Table optimistic). After a couple of NEW’s() and their respective replaces, I get an error: “Record out of range”.
This is happening right at the SCAN … ENDSCAN statement of the SAVE method of the cDynamicViewCursor.
SCAN
IF This.IsAdding()
This.SetPrimaryKeyFieldState(FLDSTATE_APPEND_EDITED)
ENDIF
ENDSCAN
I’ve noticed that the recno() retrieves a negative number as it scans the cursor, the record number increments and seems to generate the error when it reaches zero.
I’ll appreciate any kind of help,
Regards
Oscar Corte
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement