Print Page | Close Window

Report Header

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=15262
Printed Date: 06 May 2024 at 10:22pm


Topic: Report Header
Posted By: gyswamy
Subject: Report Header
Date Posted: 29 Dec 2011 at 8:14pm
Hi,


I am designing one report using vs2008. In report header i want to display some company details line by line like name,address, phone no etc., those are not fixed i may get more lines(max 5) also.I created five text field objects and dynamically binding the text into corresponding text fields but what is the problem is if i get data for only first three text fields remaining will be showing as empty and while displaying it's showing empty space in between header and body. How can i remove this empty space?

Thanks In Advance..

-------------
Swamy



Replies:
Posted By: lockwelle
Date Posted: 30 Dec 2011 at 3:27am
create separate header sections for each line, then you can suppress whichever ones are null or empty.
 
Or create a formula that does the concatenation and place it in a object that can grow, probably in its own section so that it does impact other objects / alignments in the header/report.



Print Page | Close Window