Link to home
Start Free TrialLog in
Avatar of bceagles
bceagles

asked on

Removing Crystal blank or null fields address info

How do you remove blank or null fields from report formats (Crystal 9) in the report output versus seeing a blank line in your report? I'm creating a report format based on residential and business adrress'. Some addresses contain more than one line for address info. (ex: John Hancock Tower, 200 Clarendon St, Boston, MA. 02120). If the line containing "John Hancock Tower" is blank or null, how can I remove the space it gives me in the report output??
-Mackbully2
Avatar of Marcus Aurelius
Marcus Aurelius
Flag of United States of America image

There are a few different ways...but try this first.

Go to SELECT EXPERT....choose your field....then ....choose formula.

In the formula type:

NOT ISNULL({yourtable.field})

Then close with OK....Crystal will pull in ALL fields that are NOT NULL.

MIkeV
You can also do this by using hardcoded SQL SCRIPT as your datasource...

Or...

You can use CONDITIONAL PRINTING in your report to only allow items that are NOT NULL.

...

MIkeV
ASKER CERTIFIED SOLUTION
Avatar of gopatinc
gopatinc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial