web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Get Current CpnyId in Crystal Report Formula

(0) ShareShare
ReportReport
Posted on by 555

 Hi,

     I have added a Custom a report in Dynamics SL. In the report i want to set a header depend on which company the report is running. In formula how to get current CpnyId  with out adding RptCompany table? is this possible in dynamics SL ? is  any formula available like "RptName"(Print Report Name)?

 

Thanks,

Thillai

       

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mark E Profile Picture
    6,451 on at

    To get the current CompanyID: riparam("CpnyId")

    Most standard SL Crystal reports use this formula.

  • ThillaiRaja Profile Picture
    555 on at

    Mr.Mark very thanks,it's solve my problem..thanks again

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans