Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tableupdate in VFP 9.0

Status
Not open for further replies.

bpratl

Programmer
Jul 7, 2002
25
US
Where is the best place to put tableupdate when buffering is set to 5? I have a form with four tables and four pageframes. I get errors if placed in the DESTROY event of the pageframe in VFP 8.0; but it runs ok in VFP 9.0.
 

In addition, put some code in the form's QueryUnload to test for unsaved edits. If these exist, call the Save method to save them (or, better, ask the user's permission first).

The QueryUnload will fire whenever the user tries to close the form interactively, but not if you call the form's Release programmatically.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Thanks to all who responded. QueryUpload plus a SAVE methode did the trick.
Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top