Code Comments
Programming Forum and web based access to our favorite programming groups.
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?
Post Follow-up to this messageOn 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.