ln=RAND()*100000000000000 ?ln ?ALLTRIM(PADr(m.ln,10000000000000000000000000)) ?PADr(m.ln,10000000000000000000000000) ?ln ?ALLTRIM(PADr(m.ln,1000000000000)) ?ALLTRIM(PADr(m.ln,100000000000)) ?ALLTRIM(PADr(m.ln,10000000000)) ?ALLTRIM(PADr(m.ln,1000000000)) ?ALLTRIM(PADr(m.ln,100000000)) ?ALLTRIM(PADr(m.ln,10000000))In the documentation to PADR (C,L) functions there is no mentioning about what is the maximum number allowed in these functions. I believe, it should be documented. What does VFP9 say about it?