I dont understand why in my report the value for attendance has to be clicked before it displays.
I tried this:
Private Sub Text11_Enter()
Dim present As String
present = DLookup("[counter]", "Query2")
If IsNull(Me!attendance) Then
attendace.Value = present
attendace.Text = present
End If
End Sub
To donwload the database in question:
http://www.caltutorcentral.com/test/Database1.accdb