>Sorry, here is the problem revised. It is to be a random character string, and it is based on the 35 characters 1-9, A-Z Uppercase only. So, can VFP do a random string generation?
If your string = 10 character
RAND(-1)
lcString = ""
FOR lnI = 1 TO 10
ln = INT(RAND() * 36)
lcString = lcString + IIF(ln < 10, STR(ln,1), CHR(ln+55))
endfor
? lcString
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de
www.PortalFox.comNada corre como un zorro
________________________________