Z
zykon
Guest
Hello.
I have created a command button which i want to use to select the next customer in a drop down box from my form. I have used the code below.
Private Sub Find_Next_Click()
Surname.SetFocus
DoCmd.FindRecord (Surname),,,,,,False
End Sub
Using this code, when i press the next button with the first record it jumps to my final record instead of going throught each individual record. Can anyone please suggest how i can get the next button to go through all the customers stored instead of just jumping to the last one.
Thank You for your help.
I have created a command button which i want to use to select the next customer in a drop down box from my form. I have used the code below.
Private Sub Find_Next_Click()
Surname.SetFocus
DoCmd.FindRecord (Surname),,,,,,False
End Sub
Using this code, when i press the next button with the first record it jumps to my final record instead of going throught each individual record. Can anyone please suggest how i can get the next button to go through all the customers stored instead of just jumping to the last one.
Thank You for your help.