Information générale
Catégorie:
The Mere Mortals Framework
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement