Ver Mensaje Individual
  #4  
Antiguo 04-10-2005
omy omy is offline
Miembro
 
Registrado: ago 2003
Ubicación: Acapulco gro.
Posts: 100
Reputación: 23
omy Va por buen camino
Talking Hola espero ayude

Yo lo hice asi

sql:= 'Select count (bandera) from tiempocamion where bandera = '+ inttostr(aqdumy2.FieldValues['id']);
AQchecatiempocamion.SQL.Clear;
AQchecatiempocamion.SQL.Add(sql);
AQchecatiempocamion.Active:=true;

variable := AQchecatiempocamion.FieldValues['Expr1000'];

Es lo mismo para el max

nota. si no sirve me avisas porfa
__________________
omar velazquez
Responder Con Cita