Solved

How to concatenate address fields in Crystal Reports

Posted on 2013-02-07
3
602 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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. …
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 …
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now