Tank for you help!, I do with the next code:
first. In SQL I add:
select *
from tabla
where indvalor=:indvalor
second:
In Click Button1 I add
form3.Query1.Close;
form3.Query1.Params[0].Value:=dbedit1.Text;
form3.Query1.Open;
And that's all, with this code I can select the fiel where indvalor is the same like dbedit.text
Tank's for your help!
|