In code, use a query to get the number of registered people. Then use the Mod function to determine if the 25th person.
Air Code:
Code:
Private Sub Registered_AfterUpdate()
Dim r As DAO.Recordset
Dim RC As Long
'always hide image
Me.WinnerImage.Visible = False
'get number of people regixtered
sSQL = "SELECT Count(IsSelected) AS CountOfIsSelected FROM Table1 WHERE IsSelected = True;"
Set r = CurrentDb.OpenRecordset(sSQL)
'check if records
If Not (r.BOF And r.EOF) Then
RC = r.RecordCount
If RC Mod 25 = 0 Then '<- 25 th person
Me.WinnerImage.Visible = True 'show
Else
Me.WinnerImage.Visible = False ' hide
End If
End If
'clean up
r.Close
Set r = Nothing
End Sub
Change the red names to your table, field and image names.