Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : kLfqFxoFg+I01zupPOjdk/
Small and medium business | Business Central, N...
Suggested answer

Address field on RDLC checks to move down

Like (2) ShareShare
ReportReport
Posted on 31 Jan 2025 18:26:41 by 132
I am encountering an issue with the address field on an RDLC check. Despite moving it to the bottom on RDL program, the address on the stub continues to print in the middle of the stub. I cannot expand the stub any further without interfering with the 2nd stub. How do I get the address to appear lower?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,883 Super User 2025 Season 1 on 06 Feb 2025 at 23:58:11
    Address field on RDLC checks to move down
    Did you move the wrong field? The address is complex, so you can try moving all the related fields first.
     
    Thanks
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 26,323 Super User 2025 Season 1 on 06 Feb 2025 at 17:28:49
    Address field on RDLC checks to move down
    It would be helpful if you could share a screenshot of your layout, as otherwise, we're just guessing. Another possibility is that the address needs to be placed in the footer of the report. Right now, it seems to be in the body, which is why it's appearing in the middle.
     
  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,199 Moderator on 03 Feb 2025 at 08:19:31
    Address field on RDLC checks to move down
    Try putting textboxes in a rectangle. Rectangles stop them from moving outside the rectangle :-)
  • Suggested answer
    Saif Ali Sabri Profile Picture
    Saif Ali Sabri 726 Super User 2025 Season 1 on 01 Feb 2025 at 06:26:49
    Address field on RDLC checks to move down

    AI was used to create this answer
    The issue you're facing with the address field positioning on an RDLC check is a common challenge when designing reports in Microsoft Dynamics 365 Business Central (BC). Here are some steps and tips to help you resolve the issue:

    1. Adjust the RDLC Layout:

    • Check the Design Surface:

      • Open the RDLC layout in Visual Studio or the Report Builder.

      • Ensure that the address field is placed correctly in the design surface and that there are no overlapping elements.

    • Expand the Body Section:

      • If the address field is in the body section, expand the body section downward to create more space.

      • Right-click on the body section and select Insert Row Below to add more space.

    • Move the Address Field:

      • Drag the address field to the desired position at the bottom of the stub.

      • Ensure that the field is not constrained by other elements or containers.


    2. Adjust the Stub Height:

    • Increase Stub Height:

      • If the stub height is too small, the address field may not have enough space to move down.

      • Adjust the height of the stub in the RDLC layout to provide more room for the address field.

    • Avoid Overlapping with the 2nd Stub:

      • Ensure that the increased height of the first stub does not interfere with the second stub.

      • Use the ruler or gridlines in the RDLC designer to align the stubs properly.


    3. Modify Margins and Padding:

    • Adjust Margins:

      • Reduce the top and bottom margins of the stub to create more space for the address field.

      • Go to Report Properties > Margins and adjust the values.

    • Add Padding:

      • Add padding to the address field to ensure it is positioned correctly within its container.


    4. Use Expressions for Dynamic Positioning:

    • Dynamic Positioning:

      • Use expressions to dynamically adjust the position of the address field based on the content.

      • For example, you can set the Top property of the address field to a dynamic value that moves it down if certain conditions are met.


    5. Check for Hidden Constraints:

    • Parent Containers:

      • Ensure that the address field is not constrained by a parent container (e.g., a rectangle or list).

      • If necessary, move the address field outside of the container or adjust the container's size.

    • Text Box Properties:

      • Check the properties of the text box containing the address field. Ensure that the CanGrow and CanShrink properties are set appropriately.


    6. Test and Preview:

    • Preview the Report:

      • Use the Preview feature in the RDLC designer to check if the address field is positioned correctly.

      • Make adjustments as needed based on the preview.

    • Print Test Copies:

      • Print test copies of the check to ensure that the address field appears in the correct position on the physical document.


    7. Consider Custom Code (if necessary):

    • Custom Logic:

      • If the RDLC layout adjustments are not sufficient, you can add custom logic in the AL code to dynamically adjust the address field's position or content before rendering the report.


    Example: Adjusting the Address Field in RDLC

    Here’s an example of how you might adjust the address field in the RDLC layout:

    1. Open the RDLC file in Visual Studio or Report Builder.

    2. Locate the address field in the stub section.

    3. Drag the address field to the bottom of the stub.

    4. Adjust the height of the stub to ensure the address field has enough space.

    5. Preview the report to verify the changes.

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 8,782 Super User 2025 Season 1 on 01 Feb 2025 at 04:49:04
    Address field on RDLC checks to move down
    Could you share layout ss?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans