I have a Business Object in a DLL that returns a recorset object. Usually, I have a VB front-end that receives the recordset object and displays it in VB forms.
I have a new requirement to display the same recordset but on a web page (intranet) instead of VB forms. Here's the code that I tried:
<%
Set objSvr = Server.CreateObject("MyServer.MyClass"
Set rs = objSvr.GetReportData("Report Name"
Response.Write rs.Recordcount
Set rs = Nothing
Set objSvr = Nothing
%>
I get the following Error
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'objSvr.GetReportData'
/MtWeb/rsTest.asp, line 2
Any help would be greatly appreciated.
Thanks! Tarek