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 :
Small and medium business | Business Central, N...
Unanswered

Fixing Bank Details RDLC Alignment

(1) ShareShare
ReportReport
Posted on by 2

Hi all,

I have a problem in business central al programming, where i want all the bank name and bank account no. to show as a block and start from the same position. I will send the photos so you could see it better The fist photo is how the textboxes are in the rdlc layout, how the bank details are currently shown and the third is how i want them to show. The bank names number may vare depending on the invoice, it can be 3 banks or more or less. The bank name field is Text[100] but usually there are no invoices that have bank account with this much of characters, maybe max 50 characters. The bank names characters may vary from bank to bank. and the bank account no. is Text[30], but usually is 16 characters or 20. The BankAccountRec referes to the  Record "Bank Account"

Here is my current code, that it might be wrong but to get an idea. In the RDLC report layout i have added the Bank Name and Account No. in two different textboxes:

        BankAccountRec.SetFilter("Bank Account No.", '<>%1', '');
        if BankAccountRec.FindSet() then
            repeat
                BankName += BankAccountRec.Name + CopyStr(' ', 1, MaxStrLen(BankAccountRec.Name));
                AccountNo += BankAccountRec."Bank Account No." + CopyStr(' ', 1, MaxStrLen(BankAccountRec."Bank Account No."));
            until BankAccountRec.Next() = 0;
    end;
hOW i WANT THEM TO SHOW.png
HOW THEY ARE SHOWN .png
Rdlc textboxes.png

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 July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 710 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 387 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 385 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans