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...
Answered

How to use function COPYSTR in Report Builder (Row Visibility)?

(0) ShareShare
ReportReport
Posted on by

Hey guys,

in the layout of my report I have created a table with many rows.

Each row will have its own condtion, to say, when it will be printed.

One of these conditions should be:

pastedimage1581940815868v1.png

Unfortunately I cannot compile my report after adding that condition...

The error message says, that "COPYSTR" is not declared...

What do I have to do?

Thank you ;)

  • Verified answer
    keoma Profile Picture
    32,729 on at

    use mid(), left(), right() instead. copystr is a c/al or al command, not a vb command.

  • Community Member Profile Picture
    on at

    Thank you, that was the solution ;)

    Do you if, there is somewhere a document to see, which function in c/al or al could correspond to a vb command?

    I have to use functions like TOTALSCAUSEDBY in my report layout, but the report builder does not know them.

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

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 671 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 434 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 241 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans