S
solex
I have a problem with a stored procedure call that occurs in a loop. I
initialize both the stored procedure and it's set of parameters before
entering the loop using the ADO.Command object and its parameter collection.
Inside the loop I set the parameters and then execute the procedure.
The problem I am having is the parameters do not seem to take on the
appropriate values after the first iteration of the loop. The inital values
of the parameters in the first iteration of the loop are the values that
remain regardless of how many times the loop is iterated.
The values I am sending differ greatly so it is not a data issue, I ported
the exact code to VB and executed the command and it works perfectly it
appears to be a problem within Access 2K VBA.
Has anyone else had this problem?
Regards,
Dan
initialize both the stored procedure and it's set of parameters before
entering the loop using the ADO.Command object and its parameter collection.
Inside the loop I set the parameters and then execute the procedure.
The problem I am having is the parameters do not seem to take on the
appropriate values after the first iteration of the loop. The inital values
of the parameters in the first iteration of the loop are the values that
remain regardless of how many times the loop is iterated.
The values I am sending differ greatly so it is not a data issue, I ported
the exact code to VB and executed the command and it works perfectly it
appears to be a problem within Access 2K VBA.
Has anyone else had this problem?
Regards,
Dan