Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How to shrink suppressed white space in header ???

I am using Crystal 8.0.

I have a report the prints the manager=92s name and phone number at the
page header. Then the report proceeds to print all jobs that belong to
that manager in the detail section. So the report will look like:

{Page Header Section}      MANAGER
TASK'S:                              PHONE NUMBER:
----------------------------------------------------------------------------
=
----------------------------------------------------
{Details Section}
XXXXXXXXXXXXXX                                    (999)999-9999

I suppress the text object that displays Manager and Phone Number when
the manager is blank. So the Page Header section is blank when there
is no manager.

The suppress works just fine. My problem is that when the manager
field is blank there is all this white space in the report header.
Management wants me to suppress the manager and phone number text
object and have the detail section to move up and use the available
white space.

Any idea on how to do this?

Report this thread to moderator Post Follow-up to this message
Old Post
General Fear
06-14-08 03:38 AM


Re: How to shrink suppressed white space in header ???
On Jun 13, 1:43=A0pm, General Fear <richma...@earthlink.net> wrote:
> I am using Crystal 8.0.
>
> I have a report the prints the manager=92s name and phone number at the
> page header. Then the report proceeds to print all jobs that belong to
> that manager in the detail section. So the report will look like:
>
> {Page Header Section} =A0 =A0 =A0MANAGER
> TASK'S: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0PHONE N=[/color
]
UMBER:
> --------------------------------------------------------------------------=[/color
]
-=AD-----------------------------------------------------
> {Details Section}
> XXXXXXXXXXXXXX =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=[/color
]
=A0 =A0 =A0(999)999-9999
>
> I suppress the text object that displays Manager and Phone Number when
> the manager is blank. So the Page Header section is blank when there
> is no manager.
>
> The suppress works just fine. My problem is that when the manager
> field is blank there is all this white space in the report header.
> Management wants me to suppress the manager and phone number text
> object and have the detail section to move up and use the available
> white space.
>
> Any idea on how to do this?

Try this:

1. Create a group for the manager field and place the manager contact
info in the group header.
2. Supress the group header when the manager info is null (i.e.
IsNull(<tablename.fieldname> ) Where fieldname is the manger name).
3. Put a page break in the group footer for the manager.
4. Remove the information from the page headers that pertains to
managers.

that should eliminate any white space and give you the spacing you are
requesitng.

Hope that helps,
Dave

Report this thread to moderator Post Follow-up to this message
Old Post
drolaw
06-14-08 03:38 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic Crystal Reports archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:48 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.