Hi All,
I have page of type Card and have added a Action Page - List type(Say Comment List) and given relation by setting property RunPageLink.
My concern is that In Comment List Page when i press OK button i want to call function and on Esc the page just close without executing the function.
i have tried in below trigger but did not work out.
OnQueryClosePage(CloseAction : Action None) : Boolean
IF CloseAction IN [ACTION::OK] THEN BEGIN
myfunction;
MESSAGE(’%1’,CloseAction );
END;
On Press OK or Esc the page i am getting OK in the message.
can anyone advise me?
Thanks for your time.