The Save() always comes back as FILE_OK (Which is a constant for 0), making llRetVal .T.
Also - using your suggested code with different Save() parameters (.F. for whole table update, .T. for force changes) :
*changes lActive to .F. for the current record.
REPLACE lActive WITH .F. IN (lcAlias)
*sets llRetVal = if the BizObj saved properly
llRetVal = IIF(ThisForm.cUtility.OfferDetailByBomBizObj.Save(.F., .T.) ;
= FILE_OK, .T., .F.)
Results in the same table updating, but the code actually does loop through each record in the view, updating the entire table each time. This is the first time I have seen that behaviour.
-J
>What is the llRetVal of the first save?
>
>Dan