Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC error: Invalid parameter number.

Status
Not open for further replies.

DianaStewart

Programmer
Apr 16, 2002
58
0
0
CA
Has anyone ever come across this error message when trying to run a report:

Crystal Reports: Database Error
ODBC error: Invalid parameter number.


When I click the OK button I get Error Detected by database dll.
 
I have two datasources: one is a ODBC and the other is a Access 2000 database. My parameter field is a Date data type but when I want to access a ceratin date field, the data type of this field is date\time.
 
I am connecting to two backends. One backend is a ODBC data source and the second is a Access database on my local PC. When I run the report I get the error Invalid Parameter number. The only parameter fields I have are dates. In my odbc I am connecting to a date\time field and in the Access database the data shows as date only. I do not know if this is the cause or not?

I am using a Subreport (connects to Access database) and the ODBC connects on the Main report...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top