Search Table.

How can i search table in delphi from edit-box
tolvumeistariAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
intheConnect With a Mentor Commented:
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.

0
 
intheCommented:
is this ok:
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
var
  Search: String;
begin
if key = #13 Then begin {#13 being enter key}
 Search:=Edit1.Text;
  Table1.FindKey([Search]);
 end;
end;
Regards Barry
0
 
tolvumeistariAuthor Commented:
Great!! Can you see me how to use Findnearest and some SQL Examples

Thanks.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

Regards Barry  
0
 
intheCommented:
B.T.W for findnearest just replace findkey with findnearest
0
 
tolvumeistariAuthor Commented:
Sorry....

This answer is excellent
Thanks again...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.