Board index » delphi » Speeding up a "filter" in DBExpress
ErikSw
![]() Delphi Developer |
Speeding up a "filter" in DBExpress2004-07-01 02:44:41 PM delphi136 Hi There, I' m using DBexpress, interbase and D6. The application is running on a W2000 server with XP clients. I have the following problem. I have one table with all my customer information of about 800 records. In this table I try to select all customers that match a certain phrase in their name. I' m using the "filter" option to do this. The problem with the way DBEXPRESS works is that all records first get copied to the client and then the filter gets active. This takes (very) much time. Is there way to speed this up !? As I am not very familiar with indexes, can anyone tell me either an index on the name helps in this case? I' m familiar with the SELECT statement, but that is not applicatable here as I really need to filter the name of the customer. Thanks in advance Erik |