>Thanks a lot for the Function, I've just got to make the decision of now many clashes the other route is likely to make, but I guess that I will probable have to use your function just to be on the safe side!
Hi Caroline,
if you wanted to solve it in VFP completely, you could concatenate the host name of the machine running your application with SYS(2015):
lcUniqueName = LEFT(SYS(0),AT(" #",SYS(0))-1) + SYS(2015)
. At least within your local network this should be unique.
HTH Robert
I've acquired quite a taste for a well-made mistake... [Fiona Apple]