Search Table.

Posted on 1999-01-17
Last Modified: 2010-04-06
How can i search table in delphi from edit-box
Question by:tolvumeistari
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 17

Expert Comment

ID: 1362249
is this ok:
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
  Search: String;
if key = #13 Then begin {#13 being enter key}
Regards Barry

Author Comment

ID: 1362250
Great!! Can you see me how to use Findnearest and some SQL Examples

LVL 17

Expert Comment

ID: 1362251
ok 2 things
1)  why you reject my answer
2)  i try to find out some examples for you

Regards Barry  
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 17

Expert Comment

ID: 1362252
B.T.W for findnearest just replace findkey with findnearest
LVL 17

Accepted Solution

inthe earned 20 total points
ID: 1362253
For sample application open the demo's in delphi\demos\.
you should also read Database Dektop's help under Contents-SQL
There's a lot of helpful information on your Delphi cd-rom.  There is two help files, one for local SQL with  BDE, and one for the Interbase SQL there's also
a manual in Adobe Acrobat format that came with Delphi 1 that will be on your cd-rom.
with all the examples in these help files you should be on your way.


Author Comment

ID: 1362254

This answer is excellent
Thanks again...

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

732 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