Sign in to follow this  
parallon

Need help with 'Link' feature

Recommended Posts

Hello all.  I am trying to pass 3 variables within the URL but am having trouble. 

Here is what I want:

mysite.com/rpt3.asp&Package=P1&StartDate=1/1/2008&EndDate=12/31/2008

Here is the code I tried:

link='http://mysite.com/rpt_3a.asp?Package=" & LaborArray(x,1) & "&StartDate=" & vStart & "&EndDate=" & vEnd &"'

... but when I view the source of the page, I get the following:

mysite.com/rpt_3a.asp?Package=P1&StartDate=&EndDate='

 

Thanks,

Parallon

Share this post


Link to post
Share on other sites

hi,

Could you please follow this?

strURL=server.URLEncode("rpt_3a.asp?Package=" & LaborArray(x,1) & "&StartDate=" & vStart & "&EndDate=" & vEnd)

linkParam="link='" & strURL & "'"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this