Ver Mensaje Individual
  #3  
Antiguo 18-12-2010
elsamurai elsamurai is offline
Miembro
NULL
 
Registrado: nov 2010
Posts: 38
Reputación: 0
elsamurai Va por buen camino
saludos,gracias por responderme,mira modifique mi consulta y puse
Código SQL [-]
select * from cliente where nombre=:variable
le puse el nombre de variable a mi parametro y en el codigo del boton tengo esto
Código Delphi [-]
with  dm.ADOfactura do
begin
 close;
parameters.ParamByName('nombre').Value:=variable ;
  open;
     if IsEmpty then
      begin
        ShowMessage('Registro no existe...');
        exit;
      end;
end;
rptfactura.quickrep1.preview;
rptfactura.close;


cuando lo intento ejecutar me dice un error que dice que la palabra variable no esta declarada,que crees que pueda ser ?
Responder Con Cita