🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70225

Filtrowanie

#70225
From: Mariusz
Date: Mon, 25 Jun 2007 21:33
13 lines
1185 bytes
Wiam, wie ktoś może jak przefiltrować tabele po kolumne, która jest 
integer-em,
próbuję tak

TSimpleDataSet.Filter := ID like '1%';
TSimpleDataSet.Filtered := True;

na polu tekstowym jest OK, ale dla pola liczbowego jest błąd.
Da się to jakoś ominąć i zrobić podobne sortowanie dla pól liczbowych??

Baza danych: Firebird 2, Komponent dbExpress, Turbo Delphi Explorer.

Mariusz
Technical Details
Message-ID: <f5pcd5$rm6$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Mariusz <m.wrzeisen@wp.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Filtrowanie
Date: Mon, 25 Jun 2007 23:33:39 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 13
Message-ID: <f5pcd5$rm6$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: goi43.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1182807270 28358 83.3.112.43 (25 Jun 2007 21:34:30 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 25 Jun 2007 21:34:30 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit