Has anyone executed a loop with in a loop to get a result and then back to the loop to get another result. like grouping the results, creating headings, detail line, footing and then again<BR>a different item and repeat the heading, detail and footing. sort of report like, difference is not on paper is on web page.<BR>example:<BR><BR>xxxxxx xxxxx xxxxx xxxxx Heading <BR><BR>xxxxxx xxxxx xxxx xxxxx detail 1<BR>xxxxxx xxxxx xxxx xxxxxx<BR><BR> xxxxx totals<BR><BR>xxxxx xxxxxx xxxx xxxxxxx Heading<BR><BR>xxxxx detail2<BR>xxxxx<BR>xxxxx total<BR><BR>if anyone has a suggestions, idea or a want me to try. <BR>help..<BR>