navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Hyperlink Query Value

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Hyperlink Query Value
Page: [1]
 
chadb

 

Posts: 469
From: Kansas
Status: online

 
Hyperlink Query Value - 5/5/2008 14:24:46   
I have a page that displays drw results. I have a hyperlink on one of the results that I want to hyperlink to another page that qill query on the value of the hyperlink. I have the hyperlink setup like:
<a href="jobdetail.asp?ID=<%=FP_FieldLink(fp_rs,"job")%>">

The fp_rs,"job" is the value that I want to pass on. So on the jobdetail page, I have this query that works:

fp_sQry="SELECT * FROM Item WHERE (Job = 'J065076')"

at this time the Job = 'J065076' is a static value. I want to change the 'J065076' to the hyperlink value. How can I do that?

Thanks
Chad

rdouglass

 

Posts: 9137
From: Biddeford, ME USA
Status: offline

 
RE: Hyperlink Query Value - 5/5/2008 15:01:03   
quote:

fp_sQry="SELECT * FROM Item WHERE (Job = 'J065076')"


I thin this will work:

fp_sQry="SELECT * FROM Item WHERE (Job = '::ID::')"

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to chadb)
chadb

 

Posts: 469
From: Kansas
Status: online

 
RE: Hyperlink Query Value - 5/5/2008 15:03:55   
Well, my ID field is the Primary Key, Autonumber. The job field, could span 5 - 10 ID's? That make sense?

(in reply to rdouglass)
chadb

 

Posts: 469
From: Kansas
Status: online

 
RE: Hyperlink Query Value - 5/5/2008 15:15:18   
Nevermind, got it. Thanks, that is what I needed.

(in reply to chadb)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Hyperlink Query Value
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts