Solved

Joining Several Fields into One

Posted on 2011-09-14
2
199 Views
Last Modified: 2012-05-12
Good afternoon,

I have address fields that I want joined into one field to place in a report.
Sounds like an easy request but I have tried and no data is present when you run the report.

I have tried addressline1 & " "& addressline2

As well as addressline1 + addressline2

No data is returned in the report...

Any help would be appreciated,

Thank you-
cms
0
Comment
Question by:rporter45
2 Comments
 
LVL 22

Accepted Solution

by:
Ido Millet earned 125 total points
ID: 36538209
If one element is null, the whole expression returns null.

IF IsNull(addressline2)
Then  addressline1 & " "& addressline2
ELSE addressline1


0
 

Author Closing Comment

by:rporter45
ID: 36538312
If Statement is slightly off,

It should be then addressline1 else addressline 1 & " "& addressline2

Thank you!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question