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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

Electronic Reporting: How to Insert a line break after each record except the last one

(1) ShareShare
ReportReport
Posted on by 89

I am creating custom ER formats for positive pay files and I have a requirement to have line breaks after each record except the last one. I inserted a line break variable in the format and in the formula editor I set it to CHAR(10) which successfully inserted line breaks, however it inserts one after the last record as well which is not desired. Is there a way to use counters or any function to help me not return the line after only the last record? 

Thanks 

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Electronic Reporting: How to Insert a line break after each record except the last one

    Hi,

    Did you try the if function which returns the first specified value if the specified condition is met. Otherwise, it returns the second specified value. The value that is returned can be a value of any of the supported data types:

    docs.microsoft.com/.../er-functions-logical-if

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans