Ver Mensaje Individual
  #3  
Antiguo 07-07-2005
Avatar de Crandel
[Crandel] Crandel is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Parana, Argentina
Posts: 1.475
Reputación: 23
Crandel Va por buen camino
La forma correcta de usarlo es:

Código Delphi [-]
   IBDataSet2.Close;
   IBDataSet2.SelectSQL.Clear;
   IBDataSet2.SelectSQL.Add ('select * from subcomp where cod_componente = ' + Quotedstr (DBLookupComboBox1.KeyValue) + 'and item_comp = ' + Quotedstr (DBLookupComboBox3.KeyValue));
   IBDataSet1.Prepare;
   IBDataSet2.Open;

El active esta demás.
__________________
[Crandel]
Responder Con Cita