I think the better solution is the one Chris gave you. Write  a Function to
List States in your include file.

Then call the function at the asp file.

More Structured, less coupling. Better programming.



Kuminda Chandimith
Sr. Technical Consultant
Ducont.com FZ-LLC
Tel:  + 971-4-3913000 Ext 237
Fax: +971-4-3913001
http://www.ducont.com



-----Original Message-----
From: Roji Thomas [mailto:[EMAIL PROTECTED]]
Sent: 07 October 2002 17:38
To: ActiveServerPages
Subject: Re: Releasing variables


Anyway as a solution
move the variable declarations to another include,
include it just once and include the list creating file
as many times as u want.


----- Original Message -----
From: "Johnny Martinez" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Saturday, October 05, 2002 2:33 AM
Subject: Releasing variables


>
>
> Hi all,
> I am #include'ing a script that spins through a table and builds a
<SELECT>
> drop down for the states...CA, VA, TX etc.
>
> My problem is when I use the script more than once I get
>
> "Dim variable redefined"
>
> Is it possible to release a Dim variable at the end of the script to beat
> this problem?
>
> Johnny
>
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to