>Yes, I check for whether the user is doing a seek using numbers or letters first. That's the reason for the opening IF statement to check for numbers. If numbers, then I have to insert leading zeroes before I do a seek. If letters, then I just do a seek straight away. No prep necessary. I'll study what you wrote and see if that can work for me. Thanks for the good information.
Steve,
"using numbers or letters first". Then you might want to change the expression to :
if isdigit(valu)
which checks if the first is a digit or not. It wouldn't then fail with ie: "38" :)
Cetin