Ver Mensaje Individual
  #8  
Antiguo 10-09-2007
Avatar de diegofhernando
diegofhernando diegofhernando is offline
Miembro
 
Registrado: may 2003
Ubicación: Locombia papá!
Posts: 267
Reputación: 22
diegofhernando Va por buen camino
Q tal... gracias por sus respuestas, lamento haber tardado tanto en responder, efectivamente he encontrado la solucion a mi problema, lo he hecho a traves del evento beforepost del clientdataset de la siguiente manera:

Código Delphi [-]
     for I := 0 to MDS.FieldCount - 1 do
         begin
              if (mds.Fields[i].Required) and (mds.Fields[i].AsVariant = null) then
                 begin
                      application.MessageBox(PChar('El campo ' + QuotedStr(mds.Fields[i].DisplayLabel) + ' es requerido.'),'Advertencia',mb_ok + mb_iconwarning);
                      Abort;
                      exit;
                 end;
         end;

Salu2
__________________
Diego. Colombia es pasión.
Responder Con Cita