巨魔战将 出装:哪位大哥帮我解决一下dw中提交表单时的错误

来源:百度文库 编辑:中科新闻网 时间:2024/05/11 03:45:04
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
我用asp+access做用户注册,提交表单时出现如下错误

Microsoft JET Database Engine 错误 '80040e07'

标准表达式中数据类型不匹配。

/member/meb_reg.asp,行 115

其中 行115是倒数第二行MM_editCmd.Execute
辛苦大家了奉上5分~~~
你的意思是表中某字段类型是数字我提交的是文本从而造成这结果?

应该是MM_editQuery有误,可能有字段值类型不匹配,比如数据表定义为int的字段你使用了string