Hi, can any one explain how exactly Onhyperlink() and OnCreateHyperLink() functions work?!!!!
Thank you :roll:
In help of c/side reference guide there's an explanation about those functions.
OnCreateHyperlink
The C/AL code in this trigger is executed after the user creates a URL to a form or a report.
OnHyperlink
The C/AL code in this trigger is executed after the OnInit trigger is executed for a form and after the OnInitReport trigger is executed for a report.
Comments
In help of c/side reference guide there's an explanation about those functions.
OnCreateHyperlink
The C/AL code in this trigger is executed after the user creates a URL to a form or a report.
OnHyperlink
The C/AL code in this trigger is executed after the OnInit trigger is executed for a form and after the OnInitReport trigger is executed for a report.
There's more info in help (F1).
Tino Ruijs
Microsoft Dynamics NAV specialist
can u give me a simple example :?:
Edit a form. Put MESSAGE('OnHyperlink'); in the Form - OnHyperlink(URL : Text[1024]).
Save the form.
Open the form.
You will not receive a message.
Create a desktop shortcut of the form by using File, Send, To desktop.
Use the shortcut on your desktop to open the form.
You'll receive the message!
Tino Ruijs
Microsoft Dynamics NAV specialist
You're welcome!
8)
Tino Ruijs
Microsoft Dynamics NAV specialist