CecileR
June 13th, 2001, 05:00 AM
What is wrong with my stored procedures???
cmd = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=OCVSTAT;"
'Establish a connection with the database
Set cn = New ADODB.Connection
With cn
.ConnectionString = cmd
.Open cmd
End With
Set comm = New ADODB.Command
Set comm.ActiveConnection = cn
comm.CommandText = "OpenTempVCP"
comm.CommandType = adCmdStoredProc
Set RS2VCP = comm.Execute
Oh HELP PLS!!!
Thanks
cecile
The more u read, the more u do not know
cmd = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=OCVSTAT;"
'Establish a connection with the database
Set cn = New ADODB.Connection
With cn
.ConnectionString = cmd
.Open cmd
End With
Set comm = New ADODB.Command
Set comm.ActiveConnection = cn
comm.CommandText = "OpenTempVCP"
comm.CommandType = adCmdStoredProc
Set RS2VCP = comm.Execute
Oh HELP PLS!!!
Thanks
cecile
The more u read, the more u do not know