Removing Zeros

Hi There is a file to be imported into Navision and the values read as follows: 0000000002770 how to remove the zeros ??? txs for the great help…

DELCHR(MyTextValue,‘X’,‘0’); should do the trick if you read the value into a Variable or Field of the Text data type. ‘X’ can be one of the following: ‘<’ - removes leading zeros; ‘>’ - removes trailing zeros; ‘<>’ - removes both leading and trailing zeros; ‘=’ - removes all zeros

thanks. nelson…we will try it out…

Please post to the right forum! Moved from “Implementation Methods” (a forum on how to implement MBS products in general) to “Navision Development” forum.