I have these code statements that only look at the first record in a form: I need them to look at all of the records.
Dim tempuser as String
Docmd.OpenForm "subLock", acNormal,,acFormReadOnly, acHidden
Docmd.GoToRecord acDataForm, "subLock", acGoTo, 1
tempuser =...