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

  1. #1

    Default Error messegae

    Hi all I'm using access database for search and displaying data it's works fine
    but when tring to add record I recive the folloing error

    System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement.
    at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr)
    at
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS
    dbParams, Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior,
    Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
    behavior, String method)
    at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
    at DreamweaverCtrls.DataSet.DoInit()

    cmcmcm Guest

  2. Similar Questions and Discussions

    1. Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
      I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:...
    2. Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
      I am having problems getting this webcontrol working properly. Everything else works fine except having items. So here is the low-down on the...
    3. Postscript Print error (ERROR: rangecheck; OFFENDING COMMAND: filter)
      We are attempting to print off some rather large image files on a Xerox 340 and an HP Laserjet 4MV printer via Adobe Acrobat 6. Smaller similar files...
    4. Unexpected error. A trappable error (C0000005) occurred in an external object.
      Hi Elvin, After doing some reseaarch on this problem, I found there is a lot of issues which may cause the problem, for example, incorrect access...
    5. An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
      Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources...
  3. #2

    Default Re: Error messegae

    Syntax errors normally come when you try to add a text value into a numeric
    field. Check that this is not happening. A common mistake is when you format
    a number up and then try to insert it with the $ sign.

    The other things that can cause a problem if you have commas in an insert
    field which the sql statement may mistake for a field delimiter

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "cmcmcm" <webforumsuser@macromedia.com> wrote in message
    news:d2tp5d$c2g$1@forums.macromedia.com...
    > Hi all I'm using access database for search and displaying data it's works
    fine
    > but when tring to add record I recive the folloing error
    >
    > System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement.
    > at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32
    hr)
    > at
    >
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS
    > dbParams, Object& executeResult)
    > at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object&
    executeResult)
    > at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior
    behavior,
    > Object& executeResult)
    > at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
    > behavior, String method)
    > at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
    > at DreamweaverCtrls.DataSet.DoInit()
    >

    Paul Whitham TMM 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