Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save & Cancel buttons with table buffered data
Message
From
22/02/2001 14:30:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Save & Cancel buttons with table buffered data
Miscellaneous
Thread ID:
00478562
Message ID:
00478562
Views:
50
Just a curiosity question.

I have a bizobj form in which the biz objects view is table buffered. The standard tool bar calls the Save and Cancel form methods with the parameter tlAllRows = .f.. I would like Save's and Cancel's to apply to all records so I'm handling it like this in the Forms Save method :

LPARAMETERS tlallrows,tlforce

* Save all records, not just current
LOCAL luRetVal
luRetVal = DODEFAULT(.T., tlForce)

RETURN luRetVal

Is this an appropriate way to handle it or am I missing something somewhere?
ie I don't see how to make the framework call the forms Save method with tlAllRows = .t., except in this manner.

Thanks,
Anthony Letts
Reply
Map
View

Click here to load this message in the networking platform