If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Using #include in ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-02-02, 02:20
simplyblue simplyblue is offline
Registered User
 
Join Date: Sep 2002
Posts: 2
Question 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!
Reply With Quote
  #2 (permalink)  
Old 09-02-02, 20:26
rnealejr rnealejr is offline
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old 09-02-02, 23:14
simplyblue simplyblue is offline
Registered User
 
Join Date: Sep 2002
Posts: 2
all right! thanks!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On