>FoxPro looks at the space defined for the detail band to determine whether there is room to print or not. It doesn't bother to evaluate all the print when logic for figuring out the remaining space.
>
>You can do a couple of things. One is what you suggested where you stack the fields on top of each other. To help with the maintenace nightmare, before you stack them, select all the fields for a particular section and then select Format | Group from the menu. This will tie all these fields together so you can move them as one field. Do the same for the other sections. If you ever need to edit them, you have to Ungroup them first.
>
>Another thing you can do is create a dummy data group with an expression of RECNO(). This creates a Data Group Header and a Data Group Footer for each detail band. That means you can put one set of data in the Group Header, one in the Detail band, and one in the Group Footer. If you need more than 3, just create another Data Group with the same expression and you'll get 2 more bands to play with. You can have up to 20 data groups defined!!
>
>Cathy
Thanks I'll try the data grouping.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers