Solved

How to concatenate address fields in Crystal Reports

Posted on 2013-02-07
3
708 Views
Last Modified: 2013-02-07
I have city, state, and zip code fields that are spaced too far apart on a report. I want to create a formula to keep them together and then select Can Grow option for the formula field. When I set my formula as this:
{InvoiceGen.Custcity}And{InvoiceGen.Custstate}And{InvoiceGen.Custzip}
there is an error "A boolean is required here." What is the correct syntax for this?
0
Comment
Question by:MashaCPA
[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
3 Comments
 
LVL 18

Accepted Solution

by:
vasto earned 500 total points
ID: 38865331
use + and add an empty space between the fields

{InvoiceGen.Custcity} + ' ' + {InvoiceGen.Custstate} + ' ' + {InvoiceGen.Custzip}
0
 
LVL 2

Author Closing Comment

by:MashaCPA
ID: 38865372
Perfect, thank you! I tried a similar formula as well but with "" instead of '', and there was a different error. Thanks for your help!
0
 
LVL 18

Expert Comment

by:vasto
ID: 38865397
You are Welcome!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 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