Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/02/2004, 06:35
prometeo_1
 
Fecha de Ingreso: enero-2004
Ubicación: Santiago
Mensajes: 87
Antigüedad: 20 años, 3 meses
Puntos: 0
jejejejej ahora si el codigo...

If DTPicker1.Value > DTPicker2.Value Then
MsgBox "Error en el parametro de las fechas:", vbKCancel, "error"

Else
If DatReport.Reportes.State = 1 Then
DatReport.SQL_DESCONOCE_CONTRATO DTPicker1.Value, DTPicker2.Value
Reporte_desconoce_contrato.Show vbModal
DatReport.Reportes.Close

Else
DatReport.Reportes.Open
DatReport.SQL_DESCONOCE_CONTRATO DTPicker1.Value, DTPicker2.Value
Reporte_desconoce_contrato.Show vbModal
DatReport.Reportes.Close

End If
End If