See my very long-winded question here: http://lists.evolt.org/archive/Week-of-Mon-20010625/160923.html @ReturnedStatsSessionID is an output parameter. It's more like a field or variable than a recordset. The only way to get that value out is to access it though commandObject.Parameters("@ReturnedStatsSessionID") Thanks, -- mattwarden mattwarden.com > From: "J J" <squid_66 at yahoo.com> > Subject: Re: [thelist] Freebie ASP/StoredProc Tip > > Ah wait, just re-read the message... yes, returning a > recordset. What do you mean by output parameter?