I see why, the last End If should be End Sub, but you have another problem..
Date is a reserved word and should never be used as a field or control name.
I'll change it to try and make it work for you:
Sub DateField_AfterUpdate()
If Len(Me.DateField & vbNullString) > 0 Then
Me.Days.FontBold = True
Me.Days.ForeColor = vbRed
Else
Me.Days.FontBold = False
Me.Days.ForeColor = vbBlack
End If
End Sub
--
Arvin Meyer, MCP, MVPhttp://
www.datastrat.comhttp://www.mvps.org/accesshttp://www.accessmvp.com
Sorry for being stupid but can't get this towork. Field 1 is called
Date, Field 2 is called Days, I would like to thank you for your help- Hide quoted text -
- Show quoted text -