Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Concatenate results from NL("rows",<table>,<field> ...)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Newbie question here. Is it possible to have something like NL("rows",<table>,<field> ...) and instead of getting rows just return the concatenated (text) of all the found <field> ?

I have a situation where I need to look up and return a text that is the combination of all the comment-lines in a table?

Can this be done in Jet?

*This post is locked for comments

  • Suggested answer
    Greg Enns Profile Picture
    Greg Enns 1,102 on at
    RE: Concatenate results from NL("rows",<table>,<field> ...)

    In order to get all the comments, you'll have to do an NL("rows". To concatenate them, add a column which concatenates the cell above with the comment on its' own line. The last row resulted from the NL(rows should then have a cell with the full concatenated text you're looking for.

    2017_2D00_08_2D00_28_5F00_16_2D00_53_2D00_14.png

    Last I checked, the Jet Portal doesn't allow you to use INDIRECT, but if you're not using the Portal, it can be a pretty handy function for complicated situations like this.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans