数据库 access2000 (win98 下创建的)
vb6.0
语句:   insert into 表 (renyuan,mima,quanxian) values ('aa','bb','cc')
以上字段是文本类型在程序里运行时候 提示:insert into 语句错误
复制到access 的查询分析器里  就可以执行请高手指教

解决方案 »

  1.   

    insert into 表 (renyuan,mima,quanxian) values ('aa','bb','cc')'请在英文输入法状态下输入括号再试试
      

  2.   

    agree with Leftie(左手,为人民币服务)
      

  3.   

    实时错误 ‘-2147217900 (80040e14)':
    INSERT INTO 语句的语法错误
      

  4.   

    Scenario 2a - Syntax error in INSERT INTO statement.
    This commonly occurs when your field name is a reserved word (see scenario 1 above). Adjust your field names and SQL statement accordingly and you should avoid the problem. If you can't adjust your fieldnames you can use [ ] s to delimit the field names, eg INSERT INTO table1
    ([field], [password])
    VALUES ('value1', 'value2') 
    Scenario 2b - Syntax error in UPDATE statement.
    This has the same cause as Scenario 2a immediately above. Scenario 3a - Syntax Error (Missing Operator)
    This is commonly caused when some value that you are trying to SELECT/UPDATE etc contains a single quote . The error that you receive looks like: Microsoft JET Database Engine (0x80040e14)
    Syntax error (missing operator) in query expression 'Name = 'O'Malleys''. 
    Because of the presence of the ' in the name O'Malleys the database engine thinks that you are constructing a WHERE clause like: WHERE name = 'O' 
    and doesn't know what to do with the rest of the name (Malleys). To solve this problem you need to use the Replace() function and replace all single quotes with two single quotes. It is recommended that you put the Replace() function above into a user-defined function and call as necessary within your page. Click here for an example of such a function. Scenario 3b - Syntax Error (Missing Operator) - incorrect delimiters
    This error can also be caused when attempting an INSERT or UPDATE SQL statement and you have used incorrect delimiters. 
      

  5.   

    谢谢 liuxiaoyi666(兔子) 困扰了一个礼拜啊  you are right
      

  6.   

    我以前用acess 的时候 没有出现过这种问题  就是正常写就好了不知道 这个问题是怎么产生的  为什么会产生这种问题啊?