>Keep in mind that all of the report levels are not nested within each other.
>Each is nested within the main break (the doctor), but then each of the other
>breaks occurs seperately.
Ahhh... then you might have to consider setting this sucker up to only print one Doctor at a Time, like maybe in a loop driven by a DISTINCT query of doctor names. I always hate when I get backed into that kind of corner, especially with as many reports as I do, but sometimes it's the only way. And I know using line counts can be a total pain, nowadays I always try to set an approx. value at certain point in the report instead of keeping a running line-by-line count if that helps you any.
I just sent you a sample of a report driven by a mess of related tables (I was gonna go home & do dinner first, but since you're giving the native report writer a chance here you inspired me to stick around ;) ) Good Luck Dude
Roxanne M. Seibert
Independent Consultant, VFP MCP
Code Monkey Like Fritos