>yes it does work in VFP6, we have a product out in the market now that does the same thing and it is working fine. i have just simplified the code to show you the problem.
Did you try your simplified code under VFP6? I consistently get C..5. Under VFP9 it gives error instead.
Cetin