>cFiles=cJPGCode + ".0*" && Example: "BM00&)TZ.001" >* Get the number of IMAGE files for this person. >* Place each filename into an array. >nNumberOfImageFiles=ADIR(aFileName, cFiles) >This actually limits you to 1296 extensions - from 000 to 0zz. And who ever said the extension has to be 3 characters long? You can have many more.