|
| |
|
|
rockyraccoon
Posts: 14 Joined: 12/28/2004 Status: offline
|
Need image w/hyperlink from ACCESS - 1/5/2005 10:54:03
Hi there, great forum. I have FP2000 and need to insert a link, inside of the image properties coming from ACCESS. (i.e, click on the car thumbnail, go to that detail page). I have the Data Results Table working, showing a separate link and a separate image (pulled from the table) but cant' seem to pull the the columns so you click on the image and execute the hyperlink. Also, I can pull a hyperlink from ACCESS using actual HTML code in the column, but can't get the actual ACCESS Hyperlink to work. Subtle difference, but would like to use the ACCESS Hyperlink if possible. Thanks in advance! rocky raccoon
|
|
|
|
rockyraccoon
Posts: 14 Joined: 12/28/2004 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/5/2005 12:36:51
Spooky, Thanks for the prompt reply. I am currently using a text column (with anchored code), that is already working, so I'll leave that. However, I still need to get an additional link working in conjunction with the thumbnail image. I did not code this native, but am using the Database results stuff in FP2000. This is what I am doing. image ACCESS column contains file name of image link ACCESS column contains HTML code for hyperlink/display text Database results Column properties: <<link>> just flag "contains html code" (this is working) delete <<image>>, insert dummy pic, change image properties to include parameter "image". This display's the image pulled from the ACCESS table. Now I need it to pull the link out of the ACCESS table and tie it to the image. I tried using the image properties and using parameter under "hyperlink", but that does not work. I need to keep the link in a separate DBR table column, so that's not longer an issue. Just including a hyperlink for the pic. Hope that's clear. I can pull the actually FP generated stuff if you still want it.
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/8/2005 20:21:25
Not positive I follow, but in case I do, try this: In the db results, right click <<image>> and choose hyperlink. Delete everything listed in the URL textbox. Then click the button labeled, "Parameters". Click the button labled, "Insert Field Value". Choose the field that has your link from the list. Click "OK" twice and you are done. That is if I understand what you need to do.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
rockyraccoon
Posts: 14 Joined: 12/28/2004 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/9/2005 19:40:42
Yes, that is what it contains. When listing the URL by itself, I just check "contains HTML code" under database results column properties. But in the image case, the actual database results column is no longer there, as it's been substituted with a dummy image and then the parameter to pick up the image location from ACCESS. Thanks, sorry this is so drawn out and sorry if I'm not explaining very well.
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/9/2005 21:49:19
Can you post the code you are currently trying?
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/10/2005 9:14:49
OK, played with this a bit more and this seems to work well. I believe you mentioned that you already are displaying a picture right? If so, then the rest should be easy. In Normal View, right-click the image (which probably shows in FP as a broken image) and choose "Picture Properties". Click the tab labeled, "General". Then in the text box labeled, "Default hyperlink", enter: <%=FP_FieldVal(fp_rs,"link")%> That worked great for me.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
rockyraccoon
Posts: 14 Joined: 12/28/2004 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/11/2005 18:11:30
Sorry for the delay in responding. I still have my Internet out, at home. Both of these solutions look like what I need. I'll try them as soon as I can and post the results. THANKS!!!!!!
|
|
|
|
Smokeeater9999
Posts: 5 Joined: 1/16/2005 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/16/2005 19:02:46
I am trying to do this a little differently and am running into a similiar issue. Instead of having an image file stored in my Access Database I have places a image file in my Database Results area, and am trying to link the parameters to it. I can link the appropriate field to the image, save it, etc., however when I click on the picture I get a 404 File not found error. The issue I believe is that the web address is adding my address in front of the link such as: http://mysite.com//http://SiteToGo.com I have tried changing the '<%=FP_FieldLink(fp_rs,"MapLink")%>' code to remove my web site address from the total hyperlink, but have not been successful. Any help is greatly appreciate.
|
|
|
|
rockyraccoon
Posts: 14 Joined: 12/28/2004 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/17/2005 11:36:51
Both of these work great, depending on what you are trying to do. For the image, I needed a column with the destination URL, with no "<a href....." to use the add parameter. Thanks again!
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/17/2005 11:59:19
quote:
ORIGINAL: Smokeeater9999 I am trying to do this a little differently and am running into a similiar issue. Instead of having an image file stored in my Access Database I have places a image file in my Database Results area, and am trying to link the parameters to it. I can link the appropriate field to the image, save it, etc., however when I click on the picture I get a 404 File not found error. The issue I believe is that the web address is adding my address in front of the link such as: http://mysite.com//http://SiteToGo.com I have tried changing the '<%=FP_FieldLink(fp_rs,"MapLink")%>' code to remove my web site address from the total hyperlink, but have not been successful. Any help is greatly appreciate. Welcome to Outfront. When you look at the URL in HTML view, what is generated?
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
Smokeeater9999
Posts: 5 Joined: 1/16/2005 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/18/2005 11:40:18
Duane, I will get back to you on the HTML Code. I have been traveling, and will be back in a day or so. Thanks.
|
|
|
|
Smokeeater9999
Posts: 5 Joined: 1/16/2005 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/20/2005 18:06:37
Duane, The image hyperlink is adding my web site address to the front of the URL, like this: http://mysite.com//http://SiteToGo.com and then it adds the location of the actual URL. I am inserting my image into the database results area of my page. I don't really want to insert it into my access database, unless that is the only way to fix the problem. Doing so will give me several hundered image file in my database, which in turn will make it quite large in size. Thanks for your help.
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/20/2005 18:28:16
No, you shouldn't need to insert it into the db, in fact, I recommend against it. Now, let's make sure I understand you correctly. The image is displaying in the database results area just fine, right? But you want a link off of the image and that is not working, right? How is the URL stored in your database? Is it relative, say mypage.htm or literal, say, www.mysite.com/mypage.htm? Again, it would be helpful if you could post the html code for your page.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
rdouglass
Posts: 9265 From: Biddeford, ME USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/21/2005 16:17:35
Just my $.02 I've seen that prob before if you do something like this: <a href="/<%=FP_FieldVal(fp_rs,"link")%>"> Have you tried just this: <a href="<%=FP_Field(fp_rs,"link")%>"> Just a guess.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
Smokeeater9999
Posts: 5 Joined: 1/16/2005 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/21/2005 20:50:21
Duane, I'm not sure what you mean by the HTML Code. Sorry.
|
|
|
|
BeTheBall
Posts: 6362 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/21/2005 20:53:19
In Frontpage, switch to HTML View, copy the code and paste it here.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
Smokeeater9999
Posts: 5 Joined: 1/16/2005 Status: offline
|
RE: Need image w/hyperlink from ACCESS - 1/22/2005 20:48:40
Here is the code. I put some spaces in this code to show where the link is, and the second line is the image I inserted in the database results area. On the image, I assigned the appropriate paramerter (MapLink) to the image. fp_sQry="SELECT * FROM qryDepartmentListWeb WHERE (Alpha = '::Alpha::') ORDER BY DepartmentName ASC" fp_sDefault="Alpha=" fp_sNoRecords="Please select from the Drop-Down Search Box" fp_sDataConn="IVFA_Dept" fp_iMaxRecords=0 fp_iCommandType=1 fp_iPageSize=0 fp_fTableFormat=False fp_fMenuFormat=False fp_sMenuChoice="DepartmentName" fp_sMenuValue="DepartmentName" fp_sColTypes="&RecordID=3&DepartmentName=202&Address=202&Hidden Address=202&City=202&Zip=5&District=202&County=202&Contact=202&ContactPosition=202&ContactPhone=202&Email=202&WebLink=203&MapLink=203&WebList=11&Alpha=202&" fp_iDisplayCols=13 fp_fCustomQuery=False BOTID=0 fp_iRegion=BOTID %> <!--#include file="_fpclass/fpdbrgn1.inc"--> <!--webbot bot="DatabaseRegionStart" endspan i-checksum="48792" --><p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9px"> <span style="font-size: 9pt; font-weight: 700"> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="DepartmentName" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>DepartmentName<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"DepartmentName")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="42651" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt; font-weight: 700"> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Address" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Address<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Address")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="12103" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="City" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>City<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"City")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="4267" --></b>, <b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Zip" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Zip<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Zip")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="3973" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="County" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>County<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"County")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="15566" --> County</b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> </p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><font color="#800000">District:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="District" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>District<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"District")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="15457" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><font color="#800000">Contact:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Contact" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Contact<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Contact")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="13525" --></b>;</span></font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="ContactPosition" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>ContactPosition<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"ContactPosition")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="41314" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Phone</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="ContactPhone" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>ContactPhone<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"ContactPhone")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="31791" --></b> </span></font><font face="Verdana"><span style="font-size: 9pt"> <font color="#800000">Email:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Email" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Email<font size="-1">>></font>" s-ColumnTypes="3,202,202,202,202,5,202,202,202,202,202,202,203,203,11,202" startspan --><%=FP_FieldVal(fp_rs,"Email")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="8328" --> </b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Map Link</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">:</font> <a href="'<%=FP_FieldLink(fp_rs,"MapLink")%>'"> <img border="0" src="images/New%20&%20Updates/Test.jpg" width="42" height="12"></a></span></font></p>[/color]<p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Web Link</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">: </font><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="WebLink" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="TRUE" clientside b-MenuFormat preview="<font size="-1"><<</font><a href=".">WebLink</a><font size="-1">>></font>" s-ColumnTypes="3,202,202,202,202,5,202,202,202,202,202,202,203,203,11,202" startspan --><%="<a href=""" & FP_FieldLink(fp_rs,"WebLink") & """>" & FP_FieldVal(fp_rs,"WebLink") & "</a>"%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="16387" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> </p> <hr> <p style="margin-top: 0; margin-bottom: 0"> </p> <!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE" b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside tag="BODY" preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the end of a Database Results region.</font></td></tr></table>" startspan --><!--#include file="_fpclass/fpdbrgn2.inc"--> <!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></body></html>
|
|
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
|
|
|