Hello:<br> <br>Can i get help about my problems in designing web pages of Coldfusion?<br> <br>In my Database, there is a table called Category ,contains all the three levels of categories in my listing. <br><br>each record has a category name and a parent which points to his father category.<br><br>However, I want to let users select one top category, then in the second category there will be all the subcategory in the first category he has selected. (Every topcategory selection there will be different sub categories for the user to select) <br><br>how to do with this in ONE coldfusion webpage?<br><br>I used query as :<br><br><!--- find the first level of category ---><br><cfquery name="AllLevel"<br> datasource="#Session.sDBInfo["DataSource"]#"<br> dbtype="#Session.sDBInfo["DBType"]#"<br> username="#Session.sDBInfo["DBUserName"]#"<br> password="#Session.sDBInfo["DBPassword"]#"><br>select DISTINCT C1.Name as C1Name, C2.Name as C2Name, C3.Name as C3Name<br>from Category C1, Category C2, Category C3<br>where C1.parent='Home' and C2.parent=C1.Name and C3.parent=C2.Name<br></cfquery> <br><br><br> <br>