General information
Category:
The Mere Mortals Framework
Title:
Save & Cancel buttons with table buffered data
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only