Hola
Cada componente tiene su particularidad, aveces no sirve de mucho solo decir firebird, hay que decir con que componente lo enlazas.
Código Delphi
[-]
fecha_turno:= Now;
with (DM.Q_agen_tur )do
begin
SQL.Clear;
SQL.Text:='select * from AGENDAS_TURNOS, PROFESIONALES '+
'where AGENDAS_TURNOS.FECHA = :Fec'+
'and PROFESIONALES.APELLIDO_Y_NOMBRE = :nom '+
'and PROFESIONALES.ID_PROF = AGENDAS_TURNOS.ID_PROF ';
Params[0].Value:= fecha_turno.Date;
Params[1].Value:= QuotedStr(prof_agen_turno.Text);
Open;
end;
Saludos