How to set a page break with 'can grow' field.

Hi,
   Need to set a page break on a VS 2010 Crystal Report. One of the fields can grow and the record ends up split between 2 pages. I want the page to break if the record is going to exceed the current page. Can someone help me out with this?
coperations07Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
Use the KEEP TOGETHER option on the field or the section.

For a field
Right click the field
Click FORMAT FIELD
Click the COMMON tab
Check the KEEP TOGETHER option

For a section
Right click the section in the left margin
Click SECTION EXPERT
Click the KEEP TOGETHER option
     may be on the PAGING tab

mlmcc
0
coperations07Author Commented:
I have the detail section and field object's Keep Together options checked. The records are still bleeding over the the next page. I do have the can grow field below the other fields, but in the same detail section. Not sure if that matters, but thought I'd throw it out there.
0
mlmccCommented:
So long as it is at the bottom of the section with nothing below it, that should work.  Is it too long for 1 page?

Can you upload the rpt file?

mlmcc
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

coperations07Author Commented:
The field isn't that long. Maybe 5-6 lines, but usually not.
SorterIssues.rpt
0
mlmccCommented:
Try this idea.

Create 2 formulas

Details Fixed
chr(13) + {Details}

Open in new window


Comments Fixed
chr(13) + {comments}

Open in new window


Put them on the report.  Align the tops to the top row of the details.
Set them to grow
Delete the comments and details from the report.

See the attached report

mlmcc
SorterIssues.rpt
0
James0628Commented:
You could try this.  It seems to work on the report that you posted, although I'm honestly not sure why.  :-)  It was just something that I thought I'd try.

 Insert another detail section and move the details and comments fields into the new section, and resize the first detail section as appropriate.  Go into the Section Expert and you should see "Details", with "Details a" and "Details b" below that.  Select "Details" (not the sub-sections) and check the "Keep together" option, to keep the 2 detail sub-sections together.  It seems to work, although I'm not sure why that works, but using "Keep together" for a single detail section does not.

 James
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
coperations07Author Commented:
Thanks for the help guys! James got me going with his idea. The chr() formulas still didn't cause the page break.
0
James0628Commented:
You're welcome.  Glad I could help.

 James
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.