I am sorry, here is a copy of the code.
If IsNull(Me.[PendingBillHrs]) And Not IsNull(Me.[PendingBill]) Then
MsgBox "You must enter the time worked on the Pending Bill"
Cancel = True
Me.[PendingBillHrs].SetFocus
Exit Sub
End If
If IsNull(Me.BillingHrs) And Not IsNull(Me.Billing) Then
MsgBox "You must enter the time worked on Billings"
Cancel = True
Me.[BillingHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[PendingAsmtHrs]) And Not IsNull(Me.[PendingAsmt]) Then
MsgBox "You must enter the time worked on Pending Assessments"
Cancel = True
Me.[PendingAsmtHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[UnCertAsmtHrs]) And Not IsNull(Me.[UnCertAsmt]) Then
MsgBox "You must enter the time worked on UnCert Assessments"
Cancel = True
Me.[UnCertAsmtHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[CertifiedAsmtHrs]) And Not IsNull(Me.[CertifiedAsmt]) Then
MsgBox "You must enter the time worked on Certified Assessments"
Cancel = True
Me.[CertifiedAsmtHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[PetitionsHrs]) And Not IsNull(Me.[Petitions]) Then
MsgBox "You must enter the time worked on Petitions"
Cancel = True
Me.[PetitionsHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[FinalDeterminationHrs]) And Not
IsNull(Me.[FinalDetermination]) Then
MsgBox "You must enter the time worked on Final Determinations"
Cancel = True
Me.[FinalDeterminationHrs].SetFocus
Exit Sub
End If
If IsNull(Me.[EditHrs]) And Not IsNull(Me.[Edits]) Then
MsgBox "You must enter the time worked on Edits"
Cancel = True
Me.[EditHrs].SetFocus
Exit Sub
End If
End Sub
tina said:
nobody but you can see your BeforeUpdate code, so all any of us could do is
guess. how about making it easier for us, by posting the code, so we have
some idea of what it's doing - and therefore, what may be generating the
message.
Can anyone tell me what this means. I get this from my forms "Before
Update"
procedure that checks each If statement for me which works fine. I just
get
this message after. Do I need this and if not how can I get rid of it?