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 :
Microsoft Dynamics NAV (Archived)

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

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Greg Enns Profile Picture
    1,106 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans