ACC2000: "Too Few Parameters" Error Occurs on ASP with Parameter in Subquery (207586)
The information in this article applies to:
This article was previously published under Q207586 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you browse to an Active Server Page (ASP) created from Microsoft
Access 2000, you may receive an error message similar to the following:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/nwweb/MainQuery.ASP, line 22
CAUSE
You may receive this error message when there is a parameter that is not in
the top-level query. Microsoft Access does not check below the top-level to
see if a parameter exists when exporting the query.
RESOLUTION
To prevent this error message, do not include parameters on any query other
than the top-level query.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbprb KB207586 |
---|
|