PDA

Click to See Complete Forum and Search --> : No adOpenForwardOnly


keetsh
Oct 20th, 2000, 03:46 AM
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.

monte96
Oct 20th, 2000, 09:54 AM
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.

keetsh
Oct 20th, 2000, 10:37 AM
Thanks... It works perfectly now.