Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Row Buffering in VFP6.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00295869
Message ID:
00296963
Vues:
22
>Are you sure you don't have any event at the textbox or the listbox that is firing and change the position of the record (or doing an TableUpdate)? Please, check all the LOSTFOCUS event from the textbox or the BEFOREFOCUS of the listbox. If your listbox is "connected" to another table that is relationed with your main table, maybe that's the problem. When you jump to the listbox, can be changing the pointer!

Ricardo,

The only code in the entire form is the tablerevert in the click event of the button. Try the following test.
1. create a new form.
2. add any table to the data environment.
3. set buffermode to optomistic row buffering.
4. add a listbox to the top left corner of the form
5. set the rowsourcetype to fields
6. set the rowsource to one or more fields in the table.
7. add a textbox below the listbox (must be below).
8. set the controlsource of the textbox to one of the fields in the list.
9. add a command button to the top right corner (beside the listbox).
10. add a tablerevert to the click event.

The tablerevert in the above form will not work. If you move the textbox above the listbox then the tablerevert will work. I did not have this problem with older versions of FoxPro. This appears to be a bug. If you are interested I can email you a sample form that has the problem.
Shane Murdoch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform