L
Lloyd
I noticed that after adding the below code into one of my forms, that
MSACCESS.EXE process wont close any longer. I narrowed it down to the first
line of code listed below with the DLookup. Does anyone know why this would
be happening or what I need to do to fix it? The code is in the forms
current event.
thanks in advance
DateCk = Nz(DLookup("[DateReviewed]", "qryCaseReview", Me![DRNO]), "")
If DateCk = "" Then
'MsgBox "date is blank"
ElseIf Not IsNull(DateCk) Then
daysdiff = DateDiff("d", [DateCk], Date)
'MsgBox daysdiff
If daysdiff > 180 And Forms!frmcaseupdate.Dispo = "Open" Then
Forms!frmcaseupdate.Label128.Visible = True
Else
End If
MSACCESS.EXE process wont close any longer. I narrowed it down to the first
line of code listed below with the DLookup. Does anyone know why this would
be happening or what I need to do to fix it? The code is in the forms
current event.
thanks in advance
DateCk = Nz(DLookup("[DateReviewed]", "qryCaseReview", Me![DRNO]), "")
If DateCk = "" Then
'MsgBox "date is blank"
ElseIf Not IsNull(DateCk) Then
daysdiff = DateDiff("d", [DateCk], Date)
'MsgBox daysdiff
If daysdiff > 180 And Forms!frmcaseupdate.Dispo = "Open" Then
Forms!frmcaseupdate.Label128.Visible = True
Else
End If