>>>Jim,
>>>this is not my code I'm merely converting it from ver 2.0 to 2.6, as it's going to be ditched soon I don't want to get into even a partial rewrite
>>>
>>>Thanks for help
>>>
>>Pete,
>>
>>Whether or not you want to you will be doing a rewrite of everywhere they used sys(2015) to generate unique names.
>
>Jim,
>what I'm doing is using the complete return value instead of right(sys(2015),8), this works fine
>
>Cheers
>Pete Kane
Pete,
Yes it will work fine UNTIL the first character becomes a digit. Then it will blow up on you again.