Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save & Cancel buttons with table buffered data
Message
De
22/02/2001 14:30:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Save & Cancel buttons with table buffered data
Divers
Thread ID:
00478562
Message ID:
00478562
Vues:
49
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
Fil
Voir

Click here to load this message in the networking platform