>I thought that it didn't matter since I refernce the fields with their corresonding table aliases. It shouldn't matter what's selected, as long as it's in the data environment of the form. If I'm not correct let me know.
It does matter if you replace in the area which is not current selected area.
To make sure that REPLACE works you have either select the area you are replacing in, or include IN myArea clause.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison