CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Problem with recordset from stored procedure

Print topic Send  topic

Author Message
crpav

Posts: 3
Posted: 10/30/2004, 5:13 PM

I am trying to read a recordset from a stored procedure,
but these code doesn't work :

Dim SQL, cnx, rs, msgerr
SQL = "SP_NEXTISSUE " & CStr( Issues.Proy_id.value )
set cnx = new clsDBConnection1
cnx.Open
set rs = cnx.Execute( SQL )
if NOT rs.EOF then
Issues.Seq_id.value = rs(0)
Issues.Reference.value = rs(1)
end if
cnx.close
set cnx = Nothing

This error is displayed:
ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.

Can anyone give me some advice ?

Thank you !
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.