Hi All,
I have a problem open a static recordset in ASP. I wonder static recordset is working in ASP or not? By default, what type of recordset is default in ASP?
My code sample is showes as below:
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.Open CONSTR
Set rst = Server.CreateObject("ADODB.Recordset"
rst.Open strsql, cnn, adOpenStatic,adLockReadOnly,adCmdText
I get error message like this :
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
However, the same piece of code is working very well in VB.
Any idea of how this problem happen?
Thank you.
Best Regards,
cmlimnet
I have a problem open a static recordset in ASP. I wonder static recordset is working in ASP or not? By default, what type of recordset is default in ASP?
My code sample is showes as below:
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.Open CONSTR
Set rst = Server.CreateObject("ADODB.Recordset"
rst.Open strsql, cnn, adOpenStatic,adLockReadOnly,adCmdText
I get error message like this :
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
However, the same piece of code is working very well in VB.
Any idea of how this problem happen?
Thank you.
Best Regards,
cmlimnet