I have a Do Until Me.ID = 24855
however I would like it to match the ID that is in the current query of the form record source
I have it run next until it finishes at 24855 but if I shorten the amount of records in the query then the until number won't be 24855
is there code to just go until the last record of that record source?