Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

Company address in sentence in SSRS report

(0) ShareShare
ReportReport
Posted on by 110

Hi all,

I need to display my company address in footer in single sentence ,in SSRS report,How can i do like that?

*This post is locked for comments

  • Verified answer
    Chaitanya Golla Profile Picture
    Chaitanya Golla 17,225 on at
    RE: Company address in sentence in SSRS report

    Hi,

    Set the value for the width property(under Position/size) of the textbox(in the footer) equal to your tablix.

    While filling your temporary table, use the following code:

    LogisticsAddressing address; // Declare variable
    address = companyInfo.postalAddress().Address;
    
    // Display single if address format has 4 lines. If it has more lines then add extra strLine function by incrementing the number
    TmpTable.CompanyAddress = strLine(address.Address, 1) + strLine(address.Address, 2) + strLine(address.Address, 3) + strLine(address.Address, 4);
  • Derik Profile Picture
    Derik 110 on at
    RE: Company address in sentence in SSRS report

    Thank you,but it displays in multiple  vertically split format,How can i change it into horizontal single sentence

  • Suggested answer
    István Orosz Profile Picture
    István Orosz 2,137 on at
    RE: Company address in sentence in SSRS report

    Hi,

    You can pass it e.g. in a field in the report tmp table, and display it on the report layout. If it is an already existing one, you can refer to this article.

    Regards,

    István

  • Suggested answer
    Chaitanya Golla Profile Picture
    Chaitanya Golla 17,225 on at
    RE: Company address in sentence in SSRS report

    Hi,

    If you have companyaddress field in your temporary table, then add a footer to the report and add a textbox in the footer. Use this expression for the newly created text box: =First(Fields!CompanyAddress.Value). If you don't have this field, then create a field of type LogisticsAddressing on temporary table and use this code to populate TmpTable.CompanyAddress = companyInfo.postalAddress().Address;

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans