I am writing ASPs in Interdev 6. I make my own recordsets, like:
dim rsRole
set rsRole = Server.CreateObject("ADODB.Recordset"
sql = "select * from Role"
rsRole.Open sql, conn
and I am using some button DTCs. I don't want to use Recordset DTCs for some of my recordsets.
My problem is: How can I make the handwritten recordset visible to the subroutine I am writing for a btn_onClick() event? A recordset DTC is visible within the recordset but my handwritten recordset is not. Can anyone tell me how to state the recordset variable so that it has scope across the entire page, in all subroutines?
Thanks if anyone can help.
dim rsRole
set rsRole = Server.CreateObject("ADODB.Recordset"
sql = "select * from Role"
rsRole.Open sql, conn
and I am using some button DTCs. I don't want to use Recordset DTCs for some of my recordsets.
My problem is: How can I make the handwritten recordset visible to the subroutine I am writing for a btn_onClick() event? A recordset DTC is visible within the recordset but my handwritten recordset is not. Can anyone tell me how to state the recordset variable so that it has scope across the entire page, in all subroutines?
Thanks if anyone can help.