OK - now I'm confused...
See the attached screenshot. I have nVarChar as a datatype setting in SQL Server 2000. Here is my code:
Thanks,
Kev

See the attached screenshot. I have nVarChar as a datatype setting in SQL Server 2000. Here is my code:
This can't be THIS hard can it...?Private Sub Command4_Click()
Call EstablishConnection
Set objCmd = New ADODB.Command
objConn.CursorLocation = adUseClient
With objCmd
.ActiveConnection = objConn
.CommandText = "sproc_TEST" 'name of sproc
.CommandType = adCmdStoredProc 'its a stored procedure
.Parameters.Append .CreateParameter("@SubmissionID", nVarChar, adParamInput, 8, Me.txts) 'some parameters
.Parameters.Append .CreateParameter("@Project_Name", nVarChar, adParamInput, 50, Me.txtp) 'some parameters
Set rst = .Execute
Set rst.ActiveConnection = Nothing
End With
Call ReleaseConnection 'release the connection to the db
End Sub
Thanks,
Kev