Here are 2 simple lines of code :
- Code: Select all Expand view
- COPY FILE &(aDocTemp+".RTF") TO &(ALLTRIM(DocDoel)+"\"+"00000001.RTF")
COPY FILE &(aDocTemp+".RTF") TO &(ALLTRIM(DocDoel)+"\"+RIGHT(STR(100000000+VAL(DCTELLER),9,0),8) + ".RTF")
Thanks a lot in advance.