>Okie, I have found the problem. The problem is that I didn't open the table in Load event of the form class. It runs well if I'm dealing with one table in the form. But the problem is that I'm using data from 2 tables in the class. So in the Load event, I put :
>
>use table1
>use table2
>
This is right, but you forgot one thing. YOu have to open each table in a new work area, or one will open on top of the other.
USE table1 IN 0
USE Table2 IN 0
Erik Moore
Clientelligence