>>will return '****' because we are starting at the second comma and returning the remainder of the string.
>>But if I used the following it should give me what I want;
>>
>>This.cUserLevel = LEFT(cUserLevel, AT(',', cUserLevel) - 1)
>>
>>The code I have originally works fine, but I want to avoid, as much as possible, the amount of times the program has to evaluate and redefine this value.
>>
>>Thanks,
>>Jon
You're right guys, I haven't tested the code... I've just written it here.
Anyway I don't think there are many ways of avoiding this kind of code...
Alexandre Nobre
Alpha Bytes Computer Corp.
Did you know that there are innocent people dying in East Timor?
It helps if you do...
I suppose you don't need glasses if you're able to read this line