Based upon my experience with FoxPro 2.x, it doesn't work in one version of 2.xx and but works in higher version of 2.xx. I had experienced the same thing. It didn't work on my development instant, but it worked at clients instant. I duplicated client installation version and it worked. You may want to test it with higher version of 2.xx. I kind of remember it being 2.0??. If you make a code change, you are going to be fine. I can assure you that your code is alright.
Yashkamal Patel