>Would SUBSTR(SYS(2015), 3, 10) create an eight character string??
I am sure it will. OTOH, I don't know if you then are guaranteed to have a unique string. For what do you need a unique string, anyway? If it is for a filename, it doesn't really have to be limited to 8 characters. Both VFP and the OS allow you more than 8 characters.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)