I'm running an ASP 3.0 IIS and I really don't understand why [b]objRecordsert.Open "Select * from a table", ConnectionString, adOpenForwardOnly[/] doesn't work...
It says "adOpenForwardOnly" is an undeclared variable.
May anybody help? Thanks.
Printable View
I'm running an ASP 3.0 IIS and I really don't understand why [b]objRecordsert.Open "Select * from a table", ConnectionString, adOpenForwardOnly[/] doesn't work...
It says "adOpenForwardOnly" is an undeclared variable.
May anybody help? Thanks.
In ASP, by default you don't have any reference to the ADODB type library so you can't use it's constants without either including a file that declares the constants (adovbs.inc) or including a reference to the ADODB type library in your global.asa file.
Thanks... It works perfectly now.