I have the following
When this first runs the On Current event in Form_BBsubform is not executed.
Or rather doesn't excute until it has moved to the next (and subsequant) record(s),
I presume it's because I'm already on the first record.
How could I get around this so the On Current event runs the first time ?
Code:
Do
Set rst = Form_BBsubform.Form.RecordsetClone
rst.FindFirst "Prefix = '" & targetPrefix & "'"
If Not rst.NoMatch Then 'move to the next record
Form_BBsubform.Form.Bookmark = rst.Bookmark
End If
DoStuff
rst.MoveNext
targetPrefix = rst!Prefix
Loop Until rst!Year <> CStr(lstYear)
Or rather doesn't excute until it has moved to the next (and subsequant) record(s),
I presume it's because I'm already on the first record.
How could I get around this so the On Current event runs the first time ?