I have a COM Object created in PowerBuilder which queries a database and returns an ADO resultset. I also have an ASP page calling this object.
I know i get a connection with the object and the function works fine but when i want to populate the recordset i get the following message:
"An exeption of type '?k?' was not handled"
Can anyone give me a hint of what i am doing wrong?
Thanks
//ZTO
I have used the following code to create the object and handle the returned result.
Dim clss_com
dim cls_recset
dim conn
' Creating a recordset to handle the returned data
Set conn = Server.CreateObject("ADODB.Connection"
Set cls_recset = Server.CreateObject_("ADODB.RecordSet"
'Creating the com object
strClassString ="PB80.n_clssrch.1.0"
Set clss_com = Server.CreateObject(strClassString)
'sending value to test1 and handeling result. This is where
'i have problems
cls_recset = clss_com.of_test1(4)
I know i get a connection with the object and the function works fine but when i want to populate the recordset i get the following message:
"An exeption of type '?k?' was not handled"
Can anyone give me a hint of what i am doing wrong?
Thanks
//ZTO
I have used the following code to create the object and handle the returned result.
Dim clss_com
dim cls_recset
dim conn
' Creating a recordset to handle the returned data
Set conn = Server.CreateObject("ADODB.Connection"
Set cls_recset = Server.CreateObject_("ADODB.RecordSet"
'Creating the com object
strClassString ="PB80.n_clssrch.1.0"
Set clss_com = Server.CreateObject(strClassString)
'sending value to test1 and handeling result. This is where
'i have problems
cls_recset = clss_com.of_test1(4)