Greetings. I have a simple question regarding the use of conditional file includes. What I am attempting to do is display a web based chart that returns statistical information based on a user selection from the previous screen. <BR><BR>The "Request.Form" value is passed via "POST" method to the chart results ASP and during the processing of the results page, the type of chart displayed is dependent upon the value being passed. What I thought would be good programming would be to keep code pertaining to one type of chart separate from another in file includes. Let's say they are "chart01.inc" and "chart02.inc". Based on the value being passed from the previous from, I was hoping to load either of the include files to render the desired chart.<BR><BR><BR>My code looks like this:<BR><BR><% If Request.Form("querylist") = "chart01" Then %><BR><!--#include file=chart01.inc --><BR><% ElseIf Request.Form("querylist") = "chart02" Then %><BR><!--#include file=chart02.inc --><BR><% End If %><BR><BR>I also have separate includes arranged in the same fashion that perform ADO record counts against an Access database. These record counts will essentially get the statistics and the previous chart example is supposed to display them in chart format based on user selection.<BR><BR>I am not receiving any error messages and the ADO seems to run fine, but the chart display only seems to work in one format; not the other.<BR><BR>My question is: Why would the include method I am using work to process ADO code and not work when trying to display one chart over the other? Also, is there such a thing as "conditional file includes"? Finally, is there an easier method to do this?<BR><BR>Please help if you can - I would certainly appreciate anyone's expertise.<BR><BR>Thank you.