![]() |
#13 |
Участник
|
Цитата:
FormN.ControlM.OnPush: Record.get(PrimaryKey); codeunit1.Function1(PrimaryKey); --Shit Here --> Record.Modify; <--Shit Here codeunit1.Function1(PrimaryKey): Record.get(PrimaryKey); Record.SomeField1:=SomeValue1; if Record.SomeField1=SomeValue1 then message('Good') else message('Oops); Record.Modify; if Record.SomeField1=SomeValue1 then message('All OK') else message('Shit Happens'); |
|