Ver Mensaje Individual
  #12  
Antiguo 12-07-2007
Avatar de theloren07
theloren07 theloren07 is offline
No confirmado
 
Registrado: jun 2007
Posts: 10
Reputación: 0
theloren07 Va por buen camino
Talking Consultas Múltiples

Muy cierto caral, el campo que utilizo es tipo texto, ya hace lo quería que hiciera, esta la estructura por si alguien más la llega a necesitar.

********************************************************
Código Delphi [-]
procedure TFrmMConsultas.Button1Click(Sender: TObject);
begin
Dmodulo.ADOQuery1.Close;
Dmodulo.ADOQuery1.SQL.Clear;
Dmodulo.ADOQuery1.Sql.Add('Select * From empleados ');
Dmodulo.ADOQuery1.Sql.Add('Where estadocivil='+#39+Combobox1.Text+#39);
Dmodulo.ADOQuery1.Open;
QrListado.preview;
end;
end.

Les agradezco a marcozorilla, egostar y caral por ayudarme en este problema, muchas gracias nuevamente por su tiempo invertido y dar gracias a DIOS que existen personas como ustedes, que DIOS LE BENDIGA.

Última edición por marcoszorrilla fecha: 12-07-2007 a las 15:33:16. Razón: [Delphi]Faltan etiquetas Delphi[/Delphi]
Responder Con Cita