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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Remove spaces from Text in Ax 2012

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
To Remove spaces from Text you can get idea from below code sample. Here we are update name fields which include spaces on right and left side .

 Dirpartytable   Dirpartytable;  
Name Name;
;
while select forUpdate Dirpartytable
{
ttsBegin;
Name= strRTrim(strLTrim(Dirpartytable.Name));
Dirpartytable.Name = Name;
Dirpartytable.doUpdate();
ttsCommit;
}
info("Done");

This was originally posted here.

Comments

*This post is locked for comments