Hi, I have a problem with my form, function in codeunit goes like this
//...
IF FORM.RUNMODAL(MyForm, rec) = Action::LookupOk THEN BEGIN
Finction confirming changes();
ED ELSE IF FORM.RUNMODAL(MyForm, rec) = Action::LookupCancel THEN BEGIN
Function Undo Changes();
END;
Problem is that I have to press cancel twice or just close it twice, program generates 2 form from pushing button opening form, which executes function which piece I wrote above. Function works on g/l entry records, making changes in added chcekobexes, if its relevant for this problem.
Any ideas? I really stuck.
0
Comments
RIS Plus, LLC
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!