Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mere Mortals DBF buffering
Message
De
15/12/2003 15:27:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Mere Mortals DBF buffering
Divers
Thread ID:
00859262
Message ID:
00859262
Vues:
54
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 textbox, then close the form, the DBF is not updated unless I move that cursor out of the textbox. I know this is an old problem and have solved it elsewhere by writing the value to the controlsource's field. However, in MM, I've traced the problem to the form's WriteBuffer() method (CBizObjForm class) which does the same thing (far more thoroughly than I did).

But, that method has a line:
IF CURSORGETPROP('Buffering') != 1 AND GETFLDSTATE(0) % 2 = 1

If that IF condition evaluates to .T., the controlsource field is updated. In my case, it's evaluating to .F. Further testing shows that 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