Consulta certa? ...

Delphi

12/08/2004

Boa Tarde, para todos eu gostaria de saber se o código que estou usando abaixo esta correto para que seje efetuado a consulta em si

Atenciosamente
Rafael Cabral

procedure TForm1.Button2Click(Sender: TObject);
begin
with qryEmpresas do
begin
with SQL do
begin
Clear;
Add(´select * from rafael´);
Add(´WHERE Nome_Munic = ´´ + ComboBox1.Text + ´´´ + ´ Nome_Categ = ´´ + Combobox2.Text + ´´´´´);
end;
Open;
end;
end;


Rscrj

Rscrj

Curtidas 0
POSTAR