web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Insert / update field to space character

(0) ShareShare
ReportReport
Posted on by

If I go into table browser, put the cursor in a field, and type the space key, I can successfully store a space in the database. However, all my attempts to update / insert records in X++ with a space character result in "" instead. Any suggestions for how to update a field to store " " in X++?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    syed baber Profile Picture
    11,633 on at

    Hi Ben,

    Take a look at following post:

    stackoverflow.com/.../axapta-and-the-great-white-space-robbery

    Hope this will help.

    Thanks,

    Baber.

  • Community Member Profile Picture
    on at

    Hi Baber. Thank you for the suggestion. It comes close, but doesn't quite solve the problem. I do need the space character to be stored in the database, not added at runtime.

    The interesting thing about this is that it's possible to open Table Browser and manually put a space in a field: that's accepted and stored in the database. It does seem, however, that X++ is incapable of doing the same.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans