Solved

Multiple filtering for my table

Posted on 2002-04-14
2
133 Views
Last Modified: 2010-04-04
How can I filter my table for multiple values?

For example how can I display in my DBGrid at run-time just the records what have code names : C03CA01, B63CT06, S78CC11 ?
0
Comment
Question by:ginsonic
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 6939779
table1.filter = 'fieldname = ''C03CA01'' or fieldname = ''B63CT06'' or fieldname = ''S78CC11''';
table1.filtered := true;

meikl ;-)
0
 
LVL 9

Author Comment

by:ginsonic
ID: 6939797
Quick answer . Quick points :)

Thanks,
Nick
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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