Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To eliminate adding '?closex=true' when URL is launched from report

Status
Not open for further replies.

r9876r

Programmer
Jan 28, 2009
6
US
Hey,

Here are two methods, I am overriding to generate the hyper link dynamically in Actuate8 report

Sub SetLinkTo( row As AcDataRow )

If row.GetValue("INDC") = "URL" AND row.GetValue("URL_VALUE") <> "" Then
Font.Underline = True
LinkTo = row.GetValue("URL_VALUE")
Else
Font.Underline = False
End If
End Sub


Function TargetWindowName( ) As String
TargetWindowName = "_blank"
End Function


Actuate generates the report with hyper links correctly. When I click/launch on the hyper link, it adds '?closex=true' parameter to the actual URL address and then IE (IE6 SP2) gives '404 - Page not found' message. If the actual URL from database is ' then when I click on the hyper link on the report it opens IE with ' I want to KNOW, how to eliminate/aviod generateing '?closex=true' from URL address.

Here is HTML code from IE view source for the hyperlink.

<NOBR><DIV
STYLE="position:absolute;
left:2.15pt;
top:3.20pt;
height:9.00pt;
width:346.30pt;
text-align:left;
line-height:8.04pt;
padding-top:0.48pt;
">
<span
STYLE="font-family:Times New Roman;
font-size:7.00pt;
color:#000000;
font-weight:normal;
font-style:normal;
text-decoration:underline;
text-align:left;
"><A HREF="javascript:handleLinkClick('http%3A%2F%2F 'External', '_blank')">Link to Google</A>
</span></DIV>
</NOBR>


Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top