Ok - so having had to look up what control breaks are

I've found this:
Quote:
|
Originally Posted by answers.com
In a computer program, a control break occurs when there is a change in the value of one of the keys on which a file is sorted which requires some extra processing. For example, with an input file sorted by post code, the number of items found in each postal district might need to be printed on a report, and a heading shown for the next district. Quite often there is a hierarchy of nested control breaks in a program, e.g. streets within districts within areas, with the need for a grand total at the end.
|
So.. without seeing your code, I'm guessing you're looping through a list of results, and you need to do something like display a sub-section header. Most of solving this will be via getting your SQL right: grouping and ordering your results correctly. But without seeing your actual code it's going to be very hard to accurately identify the problem, let alone suggest a solution.