[Last Call] Learn how to a build a cloud-first strategyRegister Now


Delphi Filter Help for TcxDBBandedGrid

Posted on 2011-10-26
Medium Priority
Last Modified: 2012-05-12
This filter code WOULD work if I was using a regular DBgrid... what do I need to change to get it to work on my DB banded grid?

with gvMilling.DataController.Filter do begin
          Root.BoolOperatorKind := fboAND;
          AddItem(Root,gvMillingJobSchedule,foGreaterEqual, '0', 'Department Start Range');
          fci := Root.AddItemList(fboOR);
          fci.AddItem(Root,gvMillingMil_Total_PercentComplete, foLess, '1', '100%');
          fci.AddItem(Root,gvMillingHoursPerJob, foGreater, '0', 'Not Blank');
          Active := True;

Open in new window

Question by:Bianca
1 Comment

Accepted Solution

Bianca earned 0 total points
ID: 37033854
Nevermind... figured it out myself!

       with gvMilling.DataController.Filter do begin
          Root.BoolOperatorKind := fboOR;
          AddItem(Root,gvMillingJobSchedule,foGreaterEqual, '0', 'Department Start Range');
          fci := Root.AddItemList(fboAND);
          fci.AddItem(gvMillingMil_Total_PercentComplete, foLess, '1', '100%');
          fci.AddItem(gvMillingHoursPerJob, foGreater, '0', 'Not Blank');
          Active := True;

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question