English 中文(简体)
在执行所挽救的质问时,参数差不多
原标题:Too few parameters error when executing a saved query

我的杰特·亚行有一个由5个文本领域组成的表格,即合作署、世界团结会、世界基督教协进会、DI、PH。 合作与发展协会和Uniall是必要的,可能不会是零。 其余部分并不需要,可能为零,而且其拖欠价值为NUL。

我要问的是:

INSERT INTO tableMode ( CID, UCall, CW, DI, PH ) 
VALUES ([In_CID], [In_UCall], [In_CW], [In_DI], [In_PH]);  

我的联系是:

set ConnTemp=server.createobject("adodb.connection")
ConnTemp.Mode = 3
ConnTemp.Open "provider=microsoft.jet.oledb.4.0;" & "data source=" & DBPath  

我用一个像样的古典一页执行询问: ConnTemp.addMode aStr

a 范围包括:“1A0”、“NF4L”、“Y”、“Y”、“Y”)。 我用单一报价对它进行了审判,结果相同。

Microsoft JET Database Engine (0x80040E10)
Too few parameters. Expected 5.
/nfdxa/httpdocs/2012/changeact.asp, line 100
最佳回答

请读作解释如何使用参数:

问题回答

暂无回答




相关问题
Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

access query to filter and combine count

i have two access tables tableA num count 1 7 2 8 3 9 4 9 5 13 6 6 tableB num count 0 1 1 14 2 12 3 5 4 5 5 11 6 5 how can i create an access query that ...

How to show File Picker dialog in Access 2007?

I want to show a dialog where the user can pick a file, click OK, and then the path to the file will be saved in the database. I have just one problem, I can t figure out how tho show the dialog ...

MS Access: list macro from VBA

I have to deal with a few macros (not VBA) in an inherited Access application. In order to document them, I would like to print or list the actions in those macros, but I am very dissatisfied by ...

Returning row number on MS Access

I have 4 tables, from which i select data with help of joins in select query...I want a serial no.(row number) per record as they are fetched. first fetched record should be 1, next 2 and so on... In ...

热门标签