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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange ADODB problem

Status
Not open for further replies.

tjw2006

Programmer
Nov 16, 2006
103
GB
Hi, am using classic ASP and am trying to execute a stored procedure using ADODB. I'm using a command object and assigning parameters to it, however the stored procedure isn't accepting values from the parameters if they're derived from variables, if I key in the value of the parameter directly, then the value gets passed onto the stored procedure. I've tried printing out to the screen the value of the parameters when I've assigned them to variables and they are showing the correct values, it's just the stored procedure won't accept them! Any ideas?

Thanks
 
Hi,
Are you reloading the page before calling the procedure - it is possible the variables are not actually populated until the reload action.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top