Solved

Joining Several Fields into One

Posted on 2011-09-14
2
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

732 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