A colleague of mine made this little function. It strips leading 0's in a string. The string may only be a 1000 characters long, but that can be modified by changing 1000 to an other value. static TempStr strLtrim0(TempStr txt,str 1 trim = '0') { int i = strNfind(txt,trim,1,1000); return i ? subStr(txt,i,1000) : ''; }
My thoughts on Dynamics AX application development. I have been working as a consultant with Microsoft ERP-technology since 1994. Currently I work at Optimate A/S. My main focus is customization and application development. This blog is merely my place to put stuff that I want to remember. If anybody can benefit from reading this, that's great :0). Feel free to use any code snippets posted - but accept that you do this at your own risk!!!