Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Check null value and replacement field in SSRS report

Posted on by Microsoft Employee

Hi ,

I am trying to show CustomerName,Address1,Address2,Address3 and (city,state,zipcode) together.

e.g. CustomerName

Address1

Address2

Address3

city+state+zipcode

Sometime, Address3 can be empty in database. At that time I want to show like this. Instead of Address3, the next field should be  replaced.

e.g. CustomerName

      Address1

      Address2

     city+state+zipcode

The following Exp is now I am trying to use.

Exp=Fields!CUSTNAME.Value & vbcrlf &Fields!ADDRESS1.Value & vbcrlf & Fields!ADDRESS2.Value & vbcrlf &
Fields!ADDRESS3.Value & vbcrlf & Fields!CITY.Value & Fields!STATE.Value & Fields!ZIPCODE.Value

Please give me instruction to take out Address3 and to replace the next field instead of Address3.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans