Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering not set for table
Message
De
17/12/2003 11:55:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Buffering not set for table
Divers
Thread ID:
00859959
Message ID:
00859959
Vues:
52
I have a single record DBF (not a view, not a free table) associated with an entry form. If I make a change to a field's textbox and then close the form, that field is not updated. If I change the textbox and tab out of it, the field is updated. I know this is an old problem and have solved it elsewhere by putting the textbox value into the ControlSource field. However, in MM (where the code is far more thorough than mine was), I've traced the problem to the form's WriteBuffer() method (CBizObjForm class).

That method has an if condition that controls writing to the field:
IF CURSORGETPROP('Buffering') != 1 AND GETFLDSTATE(0) % 2 = 1

If that condition evaluates to .T., the ControlSource field is updated. But, in my case, the condition is .F.; CURSORGETPROP('Buffering') is indeed 1. Yet, in the BO builder, I've set the Data Access Buffer Mode override setting is 1 (use form setting) and the form's buffering property is set to 2 (optimistic).

Can anyone suggest what's going on? Or, better yet, how to fix it?

Thanks,
Ken
Répondre
Fil
Voir

Click here to load this message in the networking platform