Results 1 to 3 of 3

Thread: No adOpenForwardOnly

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 1999
    Posts
    56
    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.


    See you...

    keetsh®


  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 1999
    Posts
    56
    Thanks... It works perfectly now.
    See you...

    keetsh®


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width