I am trying to create a button to quickly go to the next record with the same entry in a given field [Case Name]. It is working, but the search stops at the last record in the database and does not "loop around" and continue searching from the first record. I cannot figure out why acSearchAll is only searching UP and not continuing the search through the entire database. I am using Access 2003.
Here is the code I have:
Me![Case Name].SetFocus
DoCmd.FindRecord [Case Name], acEntire, False, acSearchAll, False, acCurrent, False
I thought changing the last False to True would work, but then it only searches to the very next record and does not do another search to the next match.
Any thoughts?
(my co-workers who want this are ragging on me to get it done)
Here is the code I have:
Me![Case Name].SetFocus
DoCmd.FindRecord [Case Name], acEntire, False, acSearchAll, False, acCurrent, False
I thought changing the last False to True would work, but then it only searches to the very next record and does not do another search to the next match.
Any thoughts?
(my co-workers who want this are ragging on me to get it done)