>thanks your reply, In my application mostly i am using set filter to command, I am suing sql, now. If i am using in fisrt form, set filter to code=tcode, after closing this form, in scond form i am using set filter to name=tname
>when i leave first form i use set filter to command, so table work in scond form.
I am not sure I understand the problem and what exactly do you want to achieve. Can you please explain the purpose of the first and the second form, is the second form a "child" form to the first, so it shares its DS by using default DS while the parent uses private DS?
If it's not broken, fix it until it is.
My Blog