I suggest you ...

34 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Dmitry Arefiev shared this idea  ·   ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • deksden commented  · 

        Cool Code:

        var
        q: TDAdQuery;
        begin
        q.SQLParser
        .Where
        .BeginGroup(coAnd)
        .Add('Field1', coAnd, opGreaterEqual, SomeValue1)
        .Add('Field2', coOr, opEqual, SomeValue2)
        .EndGroup()
        .Add('Field3', coAnd, opLike, SomeValue3)
        q.OpenEx();
        end;

        That's it!) Really cool idea!

      Feedback and Knowledge Base