I didn't find a mistake, but there are a few details which I would code different - consider this my personal preferences.
All good suggestions -- Thanks! I never use the inlist command (don't know why, just never have) and I find it hard to break the "multiple replace commands" habit with just one replace statement. Maybe you couldn't do that in foxbase+????
Kevin