Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Error in code ?

    i keep gettin this error can some1 tell me what im doimg wrong please


    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in
    query expression 'B_ID ='.

    /Sredirect.asp, line 16



    heres the code from /Sredirect.asp, line 16

    10.set spRedirect = Server.CreateObject("ADODB.Command")
    11. spRedirect.ActiveConnection = MM_conn_STRING
    12. spRedirect.CommandText = "UPDATE SMALLBANNERS SET B_CLICKED_TOTAL =
    B_CLICKED_TOTAL + 1, B_CLICKED_DATE = Date() WHERE B_ID = " +
    Replace(spRedirect__varID, "'", "''") + " "
    13. spRedirect.CommandType = 1
    14. spRedirect.CommandTimeout = 0
    15. spRedirect.Prepared = true
    16. spRedirect.Execute()
    %>

    thanks in advance ;-)


    James Guest

  2. Similar Questions and Discussions

    1. Error with code
      hi all i have proplem with this code // These lines begin broadcasting. var my_nc:NetConnection = new NetConnection(); // Create connection...
    2. Template error code 3 + Error Accessing files..
      Hi, I am really out of any idea after searching Macromedia website and still cant find the solution. I faced the error code 3 when trying to update...
    3. Error Code
      I have installed windows 2003 server and connected it to my network. I was able to have all my other pc joining the domain. However, when come...
    4. db2 sql error code ref
      hello , can anyone provide me the ref for a complete sql error code explaination. i am using db2 udb v8.1 on windows
    5. Code Behind vs. no code behind: error
      I believe that you will need to Inherit the StoreComponents.ProductTemplate into the class for the codebehind for the usercontrol. So in the...
  3. #2

    Default Re: Error in code ?

    That error usually means that the variable isn't being passed to the page,
    check that the variable from the querystring is being passed to the page
    correctly.......

    Cheers,

    Tim.


    Tim Payne Guest

Posting Permissions

  • You may not post new threads
  • You may 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