Hi all,
I am writing a code to check some conditions in on Close form trigger.When the condition satisfies, I dont want to close the form but the form should be in open state with the filters applied before closing the form.When the condition is not getting satisfied the form can close.
The coding I have written is as follows
ok := DIALOG.CONFIRM('Have you madde the Indent Qty to 0 ?');
IF not ok THEN
CurrForm.CLOSE
But Irrespective of whether the condition is satisfued or not, the form is getting closed.Is there any solution to retain the form when the condtion is not satisfied with the filters applied before closing the form.
Thanks in advance.
Regards,
Chandru
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks a lot. Now its working fine.
Regards,
Chandru