Hi,
I saw this kind of programming, which somehow confused me. Although I wouldn't program like this, it worked.
clear/e "mytable" key.mytable = keyValue retrieve/e "mytable" val1.mytable = "dddffgg" val2.mytable = "ghhtlrgt" store/e "mytable" if($status>=0) activate OtherFormOrService.AddOtherFields(keyValue, outStat) ;some checks, but lets ignore those commit else rollback endif ;In OtherFormOrService Operation AddOtherFields params numeric P_KeyVal : IN numeric P_Outstat : OUT endparams clear/e "mytable" key.mytable = P_Keyval retrieve/e "mytable" val3.mytable = "hjjjkk" val4.mytable = "asxcccdf" store/e "mytable" P_Outstat = $status end; AddOtherFields
Any opinions, is it correct to add values from another form/service by doing a new retrieve/store without commit, as the calling form already has started a store on the same table-record?
Regards RogerW.