Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Row Buffering in VFP6.
Message
 
À
29/11/1999 14:33:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00295869
Message ID:
00296975
Vues:
21
>There is not additional overhead and there should be no problem always using table buffering. Sounds like you need to fire up the debugger and maybe the profiler and trace through every line of code to see where the save is happening.

Craig,

The only code on the entire form is the tablerevert in the click event. These seems to be a but in VFP. If you have time, try the following test in VFP6sp3.

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

If you run the above form, the tablerevert will not work. If you move the textbox above the listbox it seems to work (most of the time). If you prefer, I can email you a sample form that reproduces the problem.
Shane Murdoch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform