| View previous topic :: View next topic |
| Author |
Message |
Alan Guest
|
Posted: Mon Feb 14, 2005 4:48 am Post subject: TADOStoredProc |
|
|
Do I need to define the parameters of TADOStoredProc in the same order and
same name as in the stored procedure created in SQL Server 2000 ?
|
|
| Back to top |
|
 |
Del M Guest
|
Posted: Mon Feb 14, 2005 11:11 am Post subject: Re: TADOStoredProc |
|
|
If you point your data object at the stored procedure it will gather up the
parameters for you.
|
|
| Back to top |
|
 |
Alan Guest
|
Posted: Mon Feb 14, 2005 10:44 pm Post subject: Re: TADOStoredProc |
|
|
So I can order the parameters in any order provided the name of the
parameters have same name as defined in SQL Server ?
"Del M" <Del.Murray (AT) CreditHawk (DOT) Net> wrote
| Quote: | If you point your data object at the stored procedure it will gather up
the
parameters for you.
|
|
|
| Back to top |
|
 |
Del M Guest
|
Posted: Mon Feb 14, 2005 11:42 pm Post subject: Re: TADOStoredProc |
|
|
No, the parameters must be in the same order. But, if you just set the
commandtext to the stored procedure name, the IDE will find the parameters
and add them to the object for you and you dont have to worry about order or
anything.
|
|
| Back to top |
|
 |
|