davidrobin
Programmer
I have a stored procedure that has a datetime SQL data type. How do I pass a date to the parameter?
The above code comes up with a type mismatch
any ideas? David
Visual Basic 6 Ent
Code:
cmd.Parameters.Append cmd.CreateParameter("mydate", adDate,, "'" &
CStr(Year(datInd)) & " - " & CStr(Month(datInd)) & " - " & CStr(Day(datInd))
& "'")
any ideas? David
Visual Basic 6 Ent