Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Multiple filtering for my table

Posted on 2002-04-14
2
Medium Priority
?
140 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 400 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Integration Management Part 2
Suggested Courses

886 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