Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving a view with Optimistic table buffer mode override
Message
From
13/01/2000 14:12:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Saving a view with Optimistic table buffer mode override
Miscellaneous
Thread ID:
00317815
Message ID:
00317815
Views:
98
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
Next
Reply
Map
View

Click here to load this message in the networking platform