Hi, why don't u try using this way ???
num2str(salesLine.LineNum, 1, 0, 0, 0) before you right it to the word. Regards Kamalakannan http://casperkamal.spaces.live.com/ (My tech blog on Dynamics Ax) On 3/14/07, jay_naik_99 <[EMAIL PROTECTED]> wrote: > > Hi, > We have a problem here while printing the Quotation template as a WORD > FILE through COM. > While printing the Quotation lines we have bookmarked the LINENUM > field in smmQuotationlines table to the Quoation Word template file > we have created. > When creating a word document out of this we get the LINENUM printed > as 1,00 2,00 and so on. > We want to print the LINENUM as 1,2 and so on. > How can we do this? > > > [Non-text portions of this message have been removed]