|
-
Oct 20th, 2000, 03:46 AM
#1
Thread Starter
Member
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.
-
Oct 20th, 2000, 09:54 AM
#2
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 20th, 2000, 10:37 AM
#3
Thread Starter
Member
Thanks... It works perfectly now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|