Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Saving a view with Optimistic table buffer mode override
I'm inserting several records in a view with buffer modeoverride = 5 (Optimistic table). I have my business object on page (other than the first) of cBizObjMaintenaanceForm.
I added a cmdOKMaint button which is supposed to take car of saving this additions to the business object. However, only the first record is being appended to its base table.
In order to update all of the records, the Tableupdate command needs to receive .T. as parameter. That is the parameter tlAllArrows as a True value. The problem is that the click method of the cmdOKMaint issues the SaveRecord() without passing any parameters and as does the SaveRecord method of the cBizObjMaintenanceForm.
Should I issue ThisForm.oBiaZObj(.F., .T.)?, since the parameters received are:
LPARAMETERS tlNoUnlock, tlAllRows, tlForce
Thanks for any advise.
Oscar Corte
Suivant
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