Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Posts
    2

    Question Unanswered: Using #include in ASP

    Hi,
    I have 2 #include asp files in my asp page. Both the include files have to query a database and display results. But i get an error ("Name redefined. Const adOpenForwardOnly=0")
    I think it's because I defined adovbs in both the files.
    Is there anyway I can solve this problem?
    Thank you!

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Just include the adovbs include in your asp page and subsequent include files after - leaving out the reference to this include file in your other include files.

  3. #3
    Join Date
    Sep 2002
    Posts
    2
    all right! thanks!

Posting Permissions

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