Filtering ADO from other form. Please help!!!



Hi all, I have a problem with my Delphi5 :)

I put DBGrid With ADO source on first form (Form1) and I can filtering
data:

ADOQuery1.Filteres := false;
ADOQuery1.Filter := '<some records>';
ADOQuery1.Filtered := true;

after this - I can see only <some records> :-)))))

When I open second form (Form2) and trying to filter data from first

Form1.ADOQuery1.Filteres := false;
Form1.ADOQuery1.Filter := '<some records>';
Form1.ADOQuery1.Filtered := true;

nothing changing at this time and nothing after form2 is closed.
I get no error message - same all records as earlier.

What did I do bad?

Pls help

.



Relevant Pages

  • Filtering ADO from other form. Please help!!!
    ... I put DBGrid With ADO source on first form and I can filtering ... When I open second form (Form2) and trying to filter data from first ...
    (comp.lang.pascal.delphi.misc)
  • Filtering ADO from other form. Problem
    ... I put DBGrid With ADO source on first form and I can filtering ... When I open second form (Form2) and trying to filter data from first ...
    (borland.public.delphi.database.ado)
  • Filtering ADO from other form. Please help!!!
    ... I put DBGrid With ADO source on first form and I can filtering ... When I open second form (Form2) and trying to filter data from first ...
    (comp.lang.pascal.delphi.misc)
  • Re: How to minimize form owner when a form is minimized?
    ... owner still stays visible. ... >> Dim myForm as Form2 ... >> and you minimize the second form, the first form remains visible (albeit ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to show a form, which has been hidden
    ... never be able to se or use the first form again until the second form has ... "Gergo" wrote in message ... > I open Form2 when I press a button on Form1 with the following code: ... > then on Form2 I arrange something and try to go back to Form1 with the ...
    (microsoft.public.pocketpc.developer)