![]() |
|
#1
|
|||
|
|||
|
Hi
Ihave an AdoQuery with the following query: Code:
select * from customers where name like :name Code:
ADOQuery1.Parameters.ParamByName('name').value := edit1.Text+'%';
ADOQuery1.ExecSQL;
Thank's in advance. Marco Branco Last edited by mbdelphi; 05-17-2012 at 01:06 PM. |
|
#2
|
|||
|
|||
|
I think that with this adoquery i can make many kind of filters, with multiple parameters.
Any sugestion? Marco |
|
#3
|
|||
|
|||
|
ExecSQL isn't for select statements, you need Open
|
|
#4
|
|||
|
|||
|
Code:
ADOQuery1.Parameters.ParamByName('name').value := edit1.Text+'%';
ADOQuery1.ExecSQL;
Quote:
|
![]() |
| Tags |
| adoquery, query |
| Thread Tools | |
| Display Modes | |
|
|