Professional Web Applications Themes

adding a hyperlink to a field in a table created from a d/b query (Access) - ASP Database

I've done this using Frontpage; and I know I've done it in the past using just ASP. I'm trying to stay away from FP on this site, so.... Can someone tell me what is wrong with this? <td><font size="2">&nbsp;<%=rs("FILE_NUM")%><a href="newtest5.asp?blah2"=<%=rs("FILE_NUM") %>>"</a></font></td> this line loops and the FILE_NUM field is supposed to become a hyperlink to newtest5.asp I've googled and searched, and looked for my past code, but can't find it. I did it once also with a procedure that I modified, but I just want to do it without the proc. Thanks if you can help. Larry Rekow - - ...

  1. #1

    Default adding a hyperlink to a field in a table created from a d/b query (Access)

    I've done this using Frontpage; and I know I've done it in the past
    using just ASP. I'm trying to stay away from FP on this site, so....

    Can someone tell me what is wrong with this?

    <td><font size="2">&nbsp;<%=rs("FILE_NUM")%><a
    href="newtest5.asp?blah2"=<%=rs("FILE_NUM") %>>"</a></font></td>

    this line loops and the FILE_NUM field is supposed to become a
    hyperlink to newtest5.asp

    I've googled and searched, and looked for my past code, but can't find
    it. I did it once also with a procedure that I modified, but I just
    want to do it without the proc.

    Thanks if you can help.

    Larry Rekow
    - - - - - - - - - - - - - - - - - -
    "Forget it, Jake. It's Chinatown."
    Larry Rekow Guest

  2. #2

    Default Re: adding a hyperlink to a field in a table created from a d/b query (Access)

    Larry Rekow wrote:
    > I've done this using Frontpage; and I know I've done it in the past
    > using just ASP. I'm trying to stay away from FP on this site, so....
    >
    > Can someone tell me what is wrong with this?
    >
    > <td><font size="2">&nbsp;<%=rs("FILE_NUM")%> <a
    > href="newtest5.asp?blah2"=<%=rs("FILE_NUM") %>>"</a></font></td>
    >
    You have unnecessary delimiters:
    <a href="newtest5.asp?blah2=<%=rs("FILE_NUM") %>></a>

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] Guest

Similar Threads

  1. sql query returned a to table in a field
    By Gm3512 in forum Dreamweaver AppDev
    Replies: 0
    Last Post: May 1st, 11:14 PM
  2. Replies: 2
    Last Post: July 22nd, 11:49 AM
  3. Replies: 4
    Last Post: February 10th, 07:42 PM
  4. Forms Pivot Table - adding field
    By Steve in forum Microsoft Access
    Replies: 0
    Last Post: July 31st, 04:44 PM
  5. Replies: 5
    Last Post: July 22nd, 07:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139