mushin
Programmer
- Oct 4, 2000
- 49
VB 6 & SQL Server 7***************************
This is drivin me nuts ! Just trying to pass a string variable to a stored proc and I keep getting runtime errors for the odbc driver.
If I hard code the value in my stored proc and eliminate the reference in the call, it works fine.
Why can I not pass the var into the Proc ?
There are no return vals just the record set .
objRS.Open "sel_admission_sequences, (' " _
& strPtId " ') ", _
objconn, adOpenStatic, adLockReadOnly, adCmdStoredProc
Any ideas ? I may be doing someting obvious to most as I am not an accomplish Vb guy, just building some prototypes..
This is drivin me nuts ! Just trying to pass a string variable to a stored proc and I keep getting runtime errors for the odbc driver.
If I hard code the value in my stored proc and eliminate the reference in the call, it works fine.
Why can I not pass the var into the Proc ?
There are no return vals just the record set .
objRS.Open "sel_admission_sequences, (' " _
& strPtId " ') ", _
objconn, adOpenStatic, adLockReadOnly, adCmdStoredProc
Any ideas ? I may be doing someting obvious to most as I am not an accomplish Vb guy, just building some prototypes..