PDA

View Full Version : Using #include in ASP


simplyblue
09-02-02, 03:20
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!

rnealejr
09-02-02, 21:26
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.

simplyblue
09-03-02, 00:14
all right! thanks! :)