Ver Mensaje Individual
  #6  
Antiguo 29-06-2005
Avatar de Crandel
[Crandel] Crandel is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Parana, Argentina
Posts: 1.475
Reputación: 25
Crandel Va por buen camino
Hola Barto, sino entiendo mal tu pregunta, sólo tienes que sumar las cadenas

Código Delphi [-]
IBQuery1.SQL.Text := 'select max(item_prod) as mayor from subprod where cod_prod =' + Quotedstr(DBLookupComboBox1.KeyValue) + ' and item_prod =' + Quotedstr(DBLookupComboBox2.KeyValue);

Suerte
__________________
[Crandel]
Responder Con Cita