anoirsoft / AsSearchbox

A simple component for Delphi to search/filter in any TDataset ( Table or Query ) using Filter property without coding .
MIT License
21 stars 3 forks source link

[AsSearchBox] Search in database without coding in Delphi

A small component to make the search/filter easy in any TDataset ( Table or Query ) using Filter property .

Features

  AsSearchBox1.AddSearchItem('Company' , 'Company Search', loAND, roEqualTo ,'Unisco' , True, True  ); 

or

  AsSearchBox1.AddSearchItem('City'); 

Setup

You can watch the video on YouTube

1- Copy files in safe folder

2- Open AsSearchBoxGroup.groupproj and select AsSearchBoxDsgn.dpk Right click > Install !

then add folder path of Source in Library path Tools>Library ...

How to use it :

1- Add TAsSearchBox in your form/application .

2- Assign SearchDataSet with your dataset (TTable, TQuery...) , then You'll see a message "Do You want to clear & load ..."

a) Click Yes if you want to automatically load dataset Feilds in SearchItems. or
b) Click No and Add manually the fields you want to search in.

3- Execute , Good luck !

Thank you

Please ! Don't forget to :star: if you like it