>Hi Barbara,Frank
>Thank you for answers. The thing is that i didnt wait long for the program to finish, but when i killed the application(ctrl+alt+del) i got a message saying that the application is not responding.
>Im still working on that issue.
VFP is not very good about checking its Event Loop when in a compute-intensive activity, which is why Task Manager reports it as not responding. Calling DoEvents periodically from within compute-intensive loops will force VFP to examine the Event Loop and respond to Windows Messages, at a cost in performance of the compute-intensive loop.