You can see my reply to Fabio Lunardon on how to recreate. I tried the same code in VFP 8 and it works correctly but not in VFP 6 SP5. I don't have VFP 7 so I don't know if it's an issue for that version.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers