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

  1. #1

    Default MS Access Problem

    I am trying to link my asp pages in dreamweaver into MS access - can create
    a registration page and login page OK, but then get into problem when trying
    to add records - I get the following message

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO
    statement.
    /flashy_ex_airpic/register_fulldetails.asp, line 116

    So I then go to line 116 in the code and there is the following line -

    MM_editCmd.Execute

    Which is part of this block of code

    If (Not MM_abortEdit) Then
    ' execute the insert
    Set MM_editCmd = Server.CreateObject("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_editConnection
    MM_editCmd.CommandText = MM_editQuery
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close

    Anyone who can help me I would really appreciate it


    rupbrown Guest

  2. Similar Questions and Discussions

    1. contribute problem - access denied file may not existpermission problem
      Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,...
    2. ASP and Ms Access Problem
      Hi guys I trying to create a dynamic combo box in Dreamweaver, I have made a connection to the database and created a recordset and mapped the...
    3. Uploading problem = weird warning (was: access denied problem.....)
      Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the...
    4. Conversion problem from Access 97 to Access 2002
      I have an old access 97 database and I tried to convert to Access 2002. After the conversion, some of the forms and all modules are not converted...
    5. CD access OK but new X86 problem
      Hi folks, Thanks for the couple of 'mount' commands. With them, I was able to mount the CD .iso file as a filesystem. I then select 'filesystem'...
  3. #2

    Default Re: MS Access Problem

    Check your field names .. you have a reserved word in there that is causing
    the error. Common errors are things like "date" and "time" or using a - in
    e-mail .


    --
    Nancy Gill
    Team Macromedia Volunteer for Dreamweaver MX/UltraDev
    [url]http://www.macromedia.com/go/team/[/url]
    BLOG: [url]http://www.dmxwishes.com/blog.html[/url]
    Co-Author: Dreamweaver MX Instant Troubleshooter (coming soon !)
    Technical Editor: Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

    "rupbrown" <rupert@madforit.co.uk> wrote in message
    news:bf8qjr$oo7$1@forums.macromedia.com...
    > I am trying to link my asp pages in dreamweaver into MS access - can
    create
    > a registration page and login page OK, but then get into problem when
    trying
    > to add records - I get the following message
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    > [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO
    > statement.
    > /flashy_ex_airpic/register_fulldetails.asp, line 116
    >
    > So I then go to line 116 in the code and there is the following line -
    >
    > MM_editCmd.Execute
    >
    > Which is part of this block of code
    >
    > If (Not MM_abortEdit) Then
    > ' execute the insert
    > Set MM_editCmd = Server.CreateObject("ADODB.Command")
    > MM_editCmd.ActiveConnection = MM_editConnection
    > MM_editCmd.CommandText = MM_editQuery
    > MM_editCmd.Execute
    > MM_editCmd.ActiveConnection.Close
    >
    > Anyone who can help me I would really appreciate it
    >
    >

    Nancy Gill Guest

  4. #3

    Default Re: MS Access Problem

    Nancy - you are an absolute star! - I had the field town/city in the database - this seems to have cured the problem.

    Once further question that you may be able to help me with - once I have created a page where people create themselves a user name and password - how can I then the link this to adding / amending their personal details - and their's only?

    many thanks


    rupbrown webforumsuser@macromedia.com Guest

  5. #4

    Default Re: MS Access Problem

    Grear answer, worked a charm!
    Unregistered Guest

  6. #5

    Default Re: MS Access Problem

    Quote Originally Posted by Nancy Gill View Post
    Check your field names .. you have a reserved word in there that is causing
    the error. Common errors are things like "date" and "time" or using a - in
    e-mail .


    --
    Nancy Gill
    Team Macromedia Volunteer for Dreamweaver MX/UltraDev
    [url]http://www.macromedia.com/go/team/[/url]
    BLOG: [url]http://www.dmxwishes.com/blog.html[/url]
    Co-Author: Dreamweaver MX Instant Troubleshooter (coming soon !)
    Technical Editor: Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

    "rupbrown" <rupert@madforit.co.uk> wrote in message
    news:bf8qjr$oo7$1@forums.macromedia.com...
    create
    trying
    --------------------------------dreamweaver Help----------------
    u go at Tag area(i.e. right side)
    presss "+" in database tab
    give name of new connection e.g. connection1
    write string : "provider=Microsoft.jet.oledb.4.0;data source=c:\Inetpub\wwwroot\cms\xxx.mdb;"
    Unregistered 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