I want to keep a group together, but if there is room for one record on the bottom of the page, I want begin printing on the bottom of the page. Microsoft Access does this quite well. Does anybody know how to do this?
Thanks for your help, but unfortunately it did not fix the problem
For some reason, I still get a group heading on the bottom of the page with records commencing on the following page. Even by simply selecting Keep Together does not truly keep the group together (shouldn't it start a new page?).
There is another technique where you put a fake details line in the GH by duplicating the detail fields at the bottom of the GH. These will print the values from the first record of each group. Then suppress the first detail of every group (since they are already printing in the GH of each group). This way the GH can't print without one detail. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
I've managed to suppress only the first record of the whole recordset. Hence, the first instant of the group header shows the first record fine, and the details does not show this record. This works fine.
However, all subsequent instances of the group header show both records.
How do I suppress the first record within each group, rather than the whole recordset?
You should probbly reverse them so that you don't hit the NULL:
OnFirstRecord
or
{MyTable.MyGroupField} <> previous{{MyTable.MyGroupField})
Or you can create a group level running total that counts the records in each group, and suppress if the RT = 1. This is sometimes safer when you have multiple group levels.
Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.