Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 Development Tools
 Reporting Services Development
 3 fields in 1 expression help
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

120 Posts

Posted - 01/29/2013 :  14:35:44  Show Profile  Reply with Quote
Hello I figured out how to add the Fields into 1 expression but I need to add spaces aka

=Field!City.Value & Field!St.Value & Field!zip.Value

The problem is they all run together right now.


Would like to see
City, PA 17342

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 01/29/2013 :  14:58:23  Show Profile  Reply with Quote
Concatenate the string literals just like you did with the fields. For the example you showed:
=Field!City.Value & "  " & Field!St.Value & "  " & Field!zip.Value
Go to Top of Page

Posting Yak Master

120 Posts

Posted - 01/29/2013 :  15:21:12  Show Profile  Reply with Quote
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 01/29/2013 :  23:53:28  Show Profile  Reply with Quote
or this
=Field!City.Value & Space(1) & Field!St.Value & Space(1) & Field!zip.Value

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000