Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Link
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  15:02:08  Show Profile

Why I cant make below Link workable with a value Attached to it ?

quote:

<a href="generateDPLeadID.asp?InternalLeadID=" & <% =adRsCustInfo("InternalLeadID") %> >Generate Enternal Lead ID from DP</a>

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 18 March 2008 :  15:36:10  Show Profile  Visit HuwR's Homepage
because it needs to be

<a href='<% "generateDPLeadID.asp?InternalLeadID=" & adRsCustInfo("InternalLeadID") %>' >Generate Enternal Lead ID from DP</a>

or

<a href="generateDPLeadID.asp?InternalLeadID=<% adRsCustInfo("InternalLeadID") %>" >Generate Enternal Lead ID from DP</a>
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  15:40:19  Show Profile
:-) Let me Try it
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  15:57:33  Show Profile
quote:

<a href="generateDPLeadID.asp?InternalLeadID=<% InternalLeadID %>" >Generate Enternal Lead ID from DP</a>



I am using above code.

I am getting an Error like :

Microsoft VBScript runtime error '800a000d'

Type mismatch

reports/QCEditData.asp, line 41

Line 41 is :

quote:

<a href="generateDPLeadID.asp?InternalLeadID=<% InternalLeadID %>" >Generate Enternal Lead ID from DP</a>

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 18 March 2008 :  16:03:21  Show Profile  Visit HuwR's Homepage
did i tell you to do

<a href="generateDPLeadID.asp?InternalLeadID=<% InternalLeadID %>" >Generate Enternal Lead ID from DP</a>

? I don't think I did, try following instructions
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:08:58  Show Profile
InternalLeadID is the Value I am trying to set as 12345 manually , just for testing purpose.

<a href="generateDPLeadID.asp?InternalLeadID=1234" >Generate Enternal Lead ID from DP</a> WORKS perfectly.

Edited by - kolucoms6 on 18 March 2008 16:11:20
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 18 March 2008 :  16:28:29  Show Profile  Visit modifichicci's Homepage
maybe InternalLeadID is a string variable? could clng function be useful?

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:31:05  Show Profile
Its just few numbers.

<%
Dim InternalLeadID
InternalLeadID=Request.QueryString("InternalLeadID")
%>

<a href="generateDPLeadID.asp?InternalLeadID=" & <% = InternalLeadID %> >Generate Enternal Lead ID from DP</a>

Edited by - kolucoms6 on 18 March 2008 16:33:56
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 18 March 2008 :  16:34:22  Show Profile  Visit modifichicci's Homepage
<a href="generateDPLeadID.asp?InternalLeadID=<% CLng(adRsCustInfo("InternalLeadID")) %>" >Generate Enternal Lead ID from DP</a>

or
<a href="generateDPLeadID.asp?InternalLeadID=<% CLng(InternalLeadID) %>" >Generate Enternal Lead ID from DP</a>

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 18 March 2008 16:36:16
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:37:54  Show Profile
Ok
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:43:39  Show Profile

Microsoft VBScript runtime error '800a01ca'

Variable uses an Automation type not supported in VBScript: 'CLng'

/reports/QCEditData.asp, line 41

Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 18 March 2008 :  16:52:45  Show Profile  Visit modifichicci's Homepage
a href="generateDPLeadID.asp?InternalLeadID=<% InternalLeadID %>" >Generate Enternal Lead ID from DP</a>

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:54:54  Show Profile

quote:
Microsoft VBScript runtime error '800a000d'

Type mismatch

/reports/QCEditData.asp, line 41

Edited by - kolucoms6 on 18 March 2008 16:57:19
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 18 March 2008 :  16:58:22  Show Profile  Visit modifichicci's Homepage
sorry..

a href="generateDPLeadID.asp?InternalLeadID="<% InternalLeadID %>">Generate Enternal Lead ID from DP</a>

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 18 March 2008 17:00:29
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  16:59:57  Show Profile
haha Ok
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  17:00:59  Show Profile
Finally Worked !!!!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07