I have done this many times and it worked so i must not be seeing the error
below is my code
it tells me item cannot be found in collection...
when I execute the sp in query alalyzer I am returned the regid and price
does anyone see what i'm doing wrong
Code:
sql="exec spaddconfreg @name="& sname & ",@nameoforganization=" & nameoforganization & ",@stpob=" & stpob & ",@city=" & city & ",@zip=" & zip & ",@emailaddress=" & emailaddress & ",@phonenumber=" & phonenumber & ",@mobilephonenumber=" & mobilephonenumber & ",@dietaryrestrictions=" &dietaryrestrictions & ",@sessions=" & sessions & ",@meal=" & tosql(request("meal"),"text") & ",@ndays=" & numdays
response.write sql
Set objRs = Server.CreateObject("ADODB.Recordset")
objRs.Open sql, objConn
regid=objrs("regid")
price=objrs("price")
objrs.close