Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Search Table.

Posted on 1999-01-17
6
Medium Priority
?
184 Views
Last Modified: 2010-04-06
How can i search table in delphi from edit-box
0
Comment
Question by:tolvumeistari
[X]
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
6 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 1362249
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
 

Author Comment

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

Thanks.
0
 
LVL 17

Expert Comment

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

Regards Barry  
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 17

Expert Comment

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

Accepted Solution

by:
inthe earned 80 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.

0
 

Author Comment

by:tolvumeistari
ID: 1362254
Sorry....

This answer is excellent
Thanks again...
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

604 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