Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Formatting Report properties with form

Posted on by

Hi,

i want to design a form which basically handle all the report properties i.e Textbox size, font, alignment, font bold, Latin etc. How can i achieve this? Any idea or anyone who has done it before. Kindly share here or solution.

Regards,

Zohan

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Formatting Report properties with form

    Menu items aren't used in reports, there are used in AX to execute reports. If you want to pass parameters to reports, use data contracts.

  • Zohan Profile Picture
    Zohan on at
    RE: Formatting Report properties with form

    okay what if i want to get the all MenuItemName "Output Type" that are being used in reports ? IS there any specific place to fetch ?

  • Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Formatting Report properties with form

    No, SSRS expressions can be used only in SSRS reports, not in Dynamics AX forms. You can use your form to define values (stored in a table) and use expressions in reports to utilize these values.

    The design you've described doesn't look feasible to me.

  • Zohan Profile Picture
    Zohan on at
    RE: Formatting Report properties with form

    so can we use these expression on Ax Form ? I've a report Id, Report name and Menu Item name, font size as input parameter.  Once user selected the report menu item name so what ever modification related to textboxes properties, font size would be changed in ssrs. For example by default I've set font size '8' in design while creating the report but if user want to change the size form "8" to "7" then ? the User only have to change the size in the Form that I've designed for report properties configuration and once the report executes it will show the data with font size '7'.

  • Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Formatting Report properties with form

    When you display a table field in an SSRS report, you're actually using an expression to bind the Value property to a data source field. The Value property is then something like =Fields!MyField.Value.

    But you're not limited to Value - you can use similar expressions for other properties too, such as FontFamily or FontStyle.

  • Zohan Profile Picture
    Zohan on at
    RE: Formatting Report properties with form

    For example i've design a form on Microsoft dynamics which includes Textbox properties of my SSRS reports. Form is bind with custom table which contains the information of my text box properties. When ever user select the text box properties on form then it'll effect the ssrs report. How can i achieve this ? any idea ?

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Formatting Report properties with form

    As far as I know you can NOT do dynamic textboxes (size). However, font of the report elements can be handled dynamically using IIF expressions.

  • Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Formatting Report properties with form

    Can you please elaborate what you mean by "to handle report properties"?

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans