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 ;)

I have the same question (0)
  • 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans