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 :
Finance | Project Operations, Human Resources, ...
Unanswered

How to get selected record id in query in print layout report in SSRS

(0) ShareShare
ReportReport
Posted on by 230
Hi Team,
 
I am developing new print layout SSRS report.
 
Here if i select Particular record and click on report menu item, same selected record id should we set in dialog box.
 
 
Please let me know how to achieve this.
  • Martin Dráb Profile Picture
    241,436 Most Valuable Professional on at
    Is it a query-based report or a reporting using an RDP class?
  • CU21091228-0 Profile Picture
    230 on at
    Using RDP class.
  • Martin Dráb Profile Picture
    241,436 Most Valuable Professional on at
    It's not clear which part you're struggling with, so here is a brief overview.
    1. Use a menu item button to call your report controller.
    2. In controller's main(), you should see the active record in _args.caller(). But don't do anything with it there, simply pass it to the controller through parmArgs().
    3. In prePromptModifyContract(), modify the query. The safest way is removing all existing filters for the given field and then adding one for the value from args.record().
  • Hana Xue Profile Picture
    Microsoft Employee on at

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 363 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 188

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans