Custom link in view page

This public forum is for user-to-user discussions of ASPMaker. Note that this is not support forum.

Custom link in view page

Postby Lhaz » Tue Feb 13, 2018 11:18 pm

Hi,

I'm trying to add a custom link in the view page using the help file but I can't get the record ID, here is my code :

Sub Page_Load()

Dim item
Set item = ExportOptions.Add("Custom export")
item.Body = "<a target=_blank href='HORIZON_objectives_printlist.asp?showmaster=HORIZON_projects_print&fk_ID=" & HORIZON_projects.ID.CurrentValue & "'>Custom export</a>"

End Sub

What am i missing ?
Lhaz
 
Posts: 59
Joined: Mon Nov 19, 2012 6:14 pm

Re: Custom link in view page

Postby Webmaster » Wed Feb 14, 2018 11:07 am

Try Page_Render
Webmaster
 
Posts: 10790
Joined: Fri Aug 06, 2004 5:59 pm

Re: Custom link in view page

Postby Lhaz » Wed Feb 14, 2018 3:21 pm

It works, thanks a lot !
Lhaz
 
Posts: 59
Joined: Mon Nov 19, 2012 6:14 pm


Return to General Discussion (ASPMaker)