Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having trouble with inserting the c

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
US
Having trouble with inserting the call for a SQL procedure into the open statement for a recordset. Code as follows:

adoRsF3Screen.CursorType =adOpenStatic
adoRsF3Screen.LockType = adLockOptimistic
adoRsF3Screen.Open Source:=DisplayF3 strEmployee_Number, _
ActiveConnection:=adoConnection,Options:=adCmdStoredProc

DisplayF3 is a SQL stored procedure, strEmployee_Number is a string variable representing the parameter being passed with the stored procedure.
I believe there must be an error in the way that I am inserting the stored procedure in the Open statement. Do I need a command object somewhere????

Thank You in advance for any help.
TNN Tom
TNPAYROLL@AOL.COM


TOM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top