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 AX (Archived)

parsing EDT to string

(0) ShareShare
ReportReport
Posted on by

Hello!

Code:

{

TempString += any2str(EDTvriable);

info(EDTvariable + " " + TempString);

}

Is a part of the inside of while select statement and returns value of EDTvariable and empty string.

Is there any way to develop one string built of "chains of EDT's" gathered from the same column?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: parsing EDT to string

    If it's a string EDT it should behave like a string and you don't need to parse anything.

    YourEDT   edt;

    str s;

    s = edt;

    this works, but does not make snese because edt is already a string.

    I think you are missing something...

  • Community Member Profile Picture
    on at
    RE: parsing EDT to string

    So is there some way to parse EDT, which bases on string, into string?

    My EDT contains few words separated by commas. I need now to get each of those words.

    The easiest way is to do so by parsing string to List, sadly it is not string, but some string based EDT.

  • Community Member Profile Picture
    on at
    RE: parsing EDT to string

    I also didn't get what exactly you are asking but one column can't have multiple EDTs, so it does not really make sense to use any2str.  As far as I understood your question, your code should do exactly what you want...

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: parsing EDT to string

    You can achieve this using container.

    Insert the set of EDT's using conins  and get those values using conpeek.

  • Martin Dráb Profile Picture
    235,916 Most Valuable Professional on at
    RE: parsing EDT to string

    I got neither the the purpose of the code, the requirement nor the problem you need help with. :(

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans