Board index » delphi » Filtering table already filtered .....
Daniele
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Filtering table already filtered .....
Hi ,
j have one problem ...... J have one table with 5003 records and there is a button that open a filter form. In this form there are : #1 TQuery (Query1) #1 TDBGrid (DBGrid1) #1 TDataSource (DataSource1) DBGrid1 is linked to DataSource1 and DataSource1 is linked to Query1 Now j filter the table with the Query1.Sql and the line is : Query1.SQL.Add('Select * FROM '+TT.TableName+' WHERE Brand' Like ' Where : When j run the query j will find about 1000 record ( given by If j try to do this Query1.SQL.Add('Select * FROM Query1 WHERE Brand' Like ' when j run the query j will get this error What j can do to refilter this table ??? Thanks for your help Bye Daniele |