Professional Web Applications Themes

CDONTS link - ASP Components

I am Using CDONTS to send an e-mail after a form submission to a database. I need the link to have a querystring in it. & "<BR><BR><a href='https://www2.hpfairfield.com/secure/work_order/wo_change_order/wo_co_v iew.asp?entry ='& entry<B>Go to Expense Reports</B></a>" I have assigned entry a request.form value above. Can someone point me towards the proper syntax to do this. There is something wrong with my statement after the ?. Thanks! Darren...

  1. #1

    Default CDONTS link

    I am Using CDONTS to send an e-mail after a form submission to a database.
    I need the link to have a querystring in it.


    & "<BR><BR><a
    href='https://www2.hpfairfield.com/secure/work_order/wo_change_order/wo_co_v
    iew.asp?entry ='& entry<B>Go to Expense Reports</B></a>"

    I have assigned entry a request.form value above. Can someone point me
    towards the proper syntax to do this. There is something wrong with my
    statement after the ?.

    Thanks!
    Darren


    Darren Woodbrey Guest

  2. #2

    Default Re: CDONTS link

    You must to use this:
    strBody = strBody & "<b>See this link <a href='http://localhost'>Link</a></b>" & "<br>"

    --
    FF
    [url]www.francofigun.com.ar[/url]
    [url]www.microsofties.com.ar[/url]
    MSN: [email]francofigunhotmail.com[/email]
    UIN: 305336919
    Yahoo MSN: [email]frankofm.ar[/email]
    "Darren Woodbrey" <darrenwoodbreyhpfairfield.com> escribió en el mensaje news:Oxc8OMlUEHA.2692TK2MSFTNGP09.phx.gbl...
    > I am Using CDONTS to send an e-mail after a form submission to a database.
    > I need the link to have a querystring in it.
    >
    >
    > & "<BR><BR><a
    > href='https://www2.hpfairfield.com/secure/work_order/wo_change_order/wo_co_v
    > iew.asp?entry ='& entry<B>Go to Expense Reports</B></a>"
    >
    > I have assigned entry a request.form value above. Can someone point me
    > towards the proper syntax to do this. There is something wrong with my
    > statement after the ?.
    >
    > Thanks!
    > Darren
    >
    >
    Franco Figun Guest

  3. #3

    Default Re: CDONTS link

    Thanks for the reply, however I think that you misunderstood my
    question.

    Say I have the following code:

    <%
    dim id, day
    day = request.form("day")
    id = request.form("entry")
    strBody = strBody & "<b>See this Link <a
    href='http://localhost?entry=id&date=day'>Link</a></b>" & "<br>"

    I can't get the syntax right for the variables to work in the link.
    Thanks!



    *** Sent via Devdex [url]http://www.devdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!

    Darren Woodbrey Guest

  4. #4

    Default Re: CDONTS link

    The correct one will be like this:

    strBody = strBody & "<b>See this Link <a href='http://localhost?entry=" & id
    & "&date=" & day & "'>Link</a></b><br>"

    OR

    strBody = strBody + "<b>See this Link <a href='http://localhost?entry=" + id
    + "&date=" + day + "'>Link</a></b><br>"

    See which works.


    "Darren Woodbrey" <darrenwoodbreyhpfairfield.com> wrote in message
    news:einhaZnUEHA.704TK2MSFTNGP09.phx.gbl...
    > Thanks for the reply, however I think that you misunderstood my
    > question.
    >
    > Say I have the following code:
    >
    > <%
    > dim id, day
    > day = request.form("day")
    > id = request.form("entry")
    > strBody = strBody & "<b>See this Link <a
    > href='http://localhost?entry=id&date=day'>Link</a></b>" & "<br>"
    >
    > I can't get the syntax right for the variables to work in the link.
    > Thanks!
    >
    >
    >
    > *** Sent via Devdex [url]http://www.devdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!
    >

    IPT Guest

Similar Threads

  1. cdonts.dll on x64
    By Mark in forum ASP Components
    Replies: 1
    Last Post: March 5th, 02:30 AM
  2. Showing the email link from a database link
    By Make it so! in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: April 13th, 05:03 PM
  3. CDONTS
    By Atrax in forum ASP
    Replies: 20
    Last Post: July 3rd, 03:21 AM
  4. preserve the link to a single Excel cell when updating link
    By John_Craighead@adobeforums.com in forum Adobe Indesign Windows
    Replies: 1
    Last Post: April 29th, 03:08 AM
  5. how do i link an object in Flash to an HTML link?
    By eniGMa-TheBiG-Man in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: April 14th, 01:48 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