can anyone solve this problem. I want to use the code below to show the total number of resources for all categories below not just for the category directly below (example right now if I have a parent category will 3 children below is will say 3 categories 0 resources, but if each child has 5 resources inside it, I would like it to say 3 categories 15 resources)<BR><BR>&#039Display amount of resources.<BR> If objRec2.RecordCount = 1 then<BR> <BR> Else<BR> Response.Write "(" & objRec2.RecordCount & " Resources) "<BR> End If<BR> objRec2.Filter = 0<BR> <BR> objRec3.Filter = "ParentID="&objRec("CatID") <BR> &#039Display the amount of categories.<BR> If objRec3.RecordCount = 1 then<BR> Response.Write "(1 Category)"<BR> Else<BR> Response.Write "(" & objRec3.RecordCount & " Categories)"<BR> End If<BR>