Greetings,
I am using the ADOX, (Shipped with SQL 7.0) and I am having a problem
getting the command object that represents a stored procedure. The
documentation says the following will retrieve a command object with the
stored procedure and parameters.
(Assuming an open connection)
' Open the catalog
Set cat.ActiveConnection = cnn
' Get the command object
Set cmd = cat.Procedures("CustomerById").Command
However this doesn't seem to be the case. It will not allow me to make the
assignment.
I look at the ADOX in the object browser and I see that the return value of
the procedure.command object is a Variant (where in other parts of the model
actual objects are returned.) If I add a watch to the procedure object
while the app is running, It will only show me the Name, Date Created, Date
Modified properties correctly.
I was primarily looking for a confirmation of this behavior by someone
besides myself to see If this is an isolated problem maybe with my
configuration, or If others were experiencing the same problem.
I appreciate any response
Thanks,
Scott Johnson