ok i have the following snippet of code. All i want it to do is move to the next record, but i keep getting an error of: You cannot go to the specified record.
how do i tell my loop to go the next record?
Code:
amount = DCount("*", "[Sheet1]")
counter = 0
Debug.Print amount
Do
emailgroup = Me![Email]
[B]DoCmd.GoToRecord , , acNext[/B]
emailgroup = emailgroup & ";" & Me![Email]
counter = counter + 1
Loop Until counter = amount
Debug.Print emailgroup
how do i tell my loop to go the next record?
Comment