Joe Rojas
JRojas at tnco-inc.com
Fri May 7 08:11:23 CDT 2004
Hi All, I am working on an A2k ADP with a SS7 BE. When executing stored procedures, both with and without parameters, I create and ADO Command object to do this. For example, Set com = New ADODB.Command With com .ActiveConnection = CurrentProject.Connection .CommandText = "dbo.sp_DeleteRAs" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("@RANum", adVarChar, adParamInput, 25) .Parameters("@RANum") = RANum .Execute End With Does A2K, when working with ADPs, have a more direct/better way of executing stored procedures from code or this the only/best way to do this? Thanks, JR This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email.