Expand|Select|Wrap|Line Numbers
- Set rst = Me.RecordsetClone
- Set db = CurrentDb
- If rst.RecordCount = 0 Then Exit Sub
- rst.MoveFirst
- Do While Not rst.EOF
- rst.Edit
- If Me.StartDate >= DateAdd("yyyy", -1, Date) Then Me.Eligible = "<12Months" Else Me.Eligible = "Eligible"
- rst.Update
- rst.MoveNext
- Loop
- rst.Close
- Set rst = Nothing
- Set db = Nothing
- Close