The declarations I have made in the Access program are:
Dim startdate As Date
Dim enddate As Date
Dim con As New ADODB.connection
Dim cmd As New ADODB.Command
Dim rs As New ADODB.Recordset
Dim param1 As Parameter
Dim param2 As Parameter
My connection is made using:
strcon = "driver={sql...
I have been using the code explained in this article to pass some date parameters to my SQL stored procedure however I get the error data ype mismatch on the following line
Set param1 = cmd.CreateParameter("startdate", adDBDate, adParamInput)
The code is in a MS Access 2000 database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.