>Hi Boris,
>
>thanks for trying it. Because of your answer, I restarted VFP and ran the code again and it worked too! I wonder what caused the error!?
No idea,
Nothing in HELP describes what could cause this problem.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.