Ver Mensaje Individual
  #2  
Antiguo 16-02-2009
Avatar de ContraVeneno
ContraVeneno ContraVeneno is offline
Miembro
 
Registrado: may 2005
Ubicación: Torreón, México
Posts: 4.738
Reputación: 24
ContraVeneno Va por buen camino
Código Delphi [-]
with Datos.QrySolicitud do begin
 If active then close;
 SQL.Clear;
 SQL.Add('SELECT COUNT(FolioSolicitud) as CuentaFolios');
 SQL.Add('From Solicitud');
 Open;
 edFolioSolicitud.Text := FieldByName('CuentaFolios').AsString;
end; //with

Te falta darle un nombre a tu campo.
__________________

Responder Con Cita