Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket connection Multitier adoquery 1

Status
Not open for further replies.

kyriakos70

Programmer
Jul 24, 2008
87
GR
Hello,
I have a question, I have created a multitier with socket connection (database sql, oledb connection string with ado connection), on the server side I have placed an ado query and try to execute the SQL of the Adoquery from the client side with a client dataset (the query has parameters it is like 'SELECT * FROM individuals WHERE id LIKE :)idd)+'%''), how can I close the query fill the parameters values and open it again?

Thank you
Kyriakos
 
Code:
  MyQuery.close;
  MyQuery.sql:= 'SELECT * FROM individuals WHERE id = "me-me"';
  MyQuery.open;

Roo
Delphi Rules!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top