You can use a function.

Rob Swiger
Webmaster
TCRH.org
 
Twin County Regional Healthcare
Information Systems
200 Hospital Drive, Galax, VA  24333
PH: 276.238.3515
FX: 276.236.2660
http://www.tcrh.org
[EMAIL PROTECTED]




-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 21, 2002 10:54 AM
To: ActiveServerPages
Subject: Re: Is it possible to add a variable to an include statement

That makes absolutely no sense, but I know what you're trying to do. :)

the SSi stuff gets processed at a different time than the ASP, so 
essentially what you're trying won't work.

What you want to be using, is Server.Exec() or Server.Transfer(). (IIS5+
only)

You may also look into Response.Redirect.

Jonathan

At 04:49 PM 8/21/2002 +0200, you wrote:
>For example
>
>create variable
>variable = bob
>
>then..where i want my include sataemant to be write
>
><%
>Response.Write "<!--#include file="mypagename & "bob" & 12.asp" -->
>%>
>
>TIA
>
>---
>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%%
Confidentiality Notice:  This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.

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

Reply via email to