Dear all,
Thank you for your reply and help. I'm really return an ADO recordset from COM and using ASP script to display on the web. Script show as below:
oCOMSVR = createobject('testdll.webcls')
oRS = oCOMSVR.getrs() <-- that function return an recordset
do while NOT oRS.eof
response.write(oRS.fields('CUSTNAME'))
oRS.MOVENEXT
loop
In the GETRS function, I added a property to store the return recordset and used RETURN command to return that property. I try that COM with VFP front-end client, it work fine! I also try to build MTDLL or EXE COM, it worked with VFP client but it doesn't work on the web server.
Can you tell or explain to me what the problem here? Thank you very much ....
Best Regards,
Justy Chow
justychow@sinaman.com