Hi good people i’ve created a form that is doing the Verification,What i want to ask is when the user verify a record i want the form to dissapper immediately.I have a button that runs the verification on the OnPush i have this code:
Oldrecref.GETTABLE(Rec);
“Old Lastname” := Lastname;
“Old Initials” := Initials;
“Old ID No.” := “ID No.”;
“Old Vat Registration No” := “VAT Registration No.”;
//“Old Payment Method” := “Payment Method Code”;
Status := Status::Approved;
“Actual Status” := “Actual Status”::Approved;
MODIFY;
NewRecRef.GETTABLE(Rec);
cChangeLogMngt.LogModification( NewRecRef, Oldrecref );
This is working very well and i need a code to close the form after this code is executed!!! please help