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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to adjust the height of the string field in morphx report

(0) ShareShare
ReportReport
Posted on by 1,737

currently working on the morphx report, i am displaying the one string field in the report using the display method.

This string field size is 250 Charcter.

If suppose the user enter the 250 charcter the height of the report is change automatically and they are enter the 100 charcter the height of the page is decrese automatically.

i am tried this change the property dynamic height,but it is not working.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Hajish Profile Picture
    460 on at
    RE: how to adjust the height of the string field in morphx report

    you can set fixed height for that field.

  • krishna.rao@dax Profile Picture
    3,002 on at
    RE: how to adjust the height of the string field in morphx report

    Height of the string not only depends on it's individual property but also on the design body(Parent heirarchy) properties.

  • srinivas pamidi Profile Picture
    1,737 on at
    RE: how to adjust the height of the string field in morphx report

    Hai Krishna,

    Please find the Screen shot for Better Understanding.

    in this I am take the Seperate Programable Sction to display the description of the item.

    "Log Book A4 Size 50 Pages"

    It is the Size of 250 Characters, some they give 250 some times they give 50,100, 150....

    in that i want to change the height of the programmable section automatically based on the size of the String Size.

    everything will be changed based on the String size.

    How to Do this.

  • Suggested answer
    Hajish Profile Picture
    460 on at
    RE: how to adjust the height of the string field in morphx report

    set the autodeclaration "yes" in property.

    Override the fetch method and check the length(check your logic).

    control height can set in fetch method(control.height).

  • srinivas pamidi Profile Picture
    1,737 on at
    RE: how to adjust the height of the string field in morphx report

    how i am write the logic based on the purchline string field.

    ProgrammableSection_3.heightMode == PurchLine.

  • krishna.rao@dax Profile Picture
    3,002 on at
    RE: how to adjust the height of the string field in morphx report

    I couldn't see the screen shot.

    It's not easy to predict what's there in your AX environment , not worth of dicscussion by assuming.

    If you would like to be helped then share more details.

  • srinivas pamidi Profile Picture
    1,737 on at
    RE: how to adjust the height of the string field in morphx report

    hai krishna,

    It is simple one customized field is there in the purchline table, users are enter data manually in that field.

    suppose users enter the few characters the height of the programmable section decreases if they enter full 250 characters the height of the programmable section increases automatically.

    i am take this string field in seperate programmable section and take some vertical lines in the pogramable section if the size of the string field decreases these lines also decreases.

    how to do this.?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans