meanster99
Meum cerebrum nocet!
- Local time
- Today, 18:28
- Joined
- May 2, 2006
- Messages
- 62
Help please guys! I have searched the forum but can't find anything specific enough for me to work with.
I have a form that displays the results of a query one at a time. The user then checks a few boxes/fills a few fields before clicking OK to move to the next record. When the user gets to the last record and clicks OK they see the standard Access msgbox stating "you can't go to the specified record". I dont want this! I know I can change the error message decription in the sub routine to say something else but I dont want to mess with this in case of other errors.
I have been looking for "If EOF then..." type of things but cant find anything except the Loop stuff, which is no good for me as i only want to advance one record when OK is pressed.
I need the user to be warned that they are at the end of the recordset and that they should then use the search box provided to enter another area to begin the process again (I know how to do the msgbox stuff).
This sounds like it should be really easy but I have used many different variations on the If EOF statement but none of them work!
Any suggestions?
I have a form that displays the results of a query one at a time. The user then checks a few boxes/fills a few fields before clicking OK to move to the next record. When the user gets to the last record and clicks OK they see the standard Access msgbox stating "you can't go to the specified record". I dont want this! I know I can change the error message decription in the sub routine to say something else but I dont want to mess with this in case of other errors.
I have been looking for "If EOF then..." type of things but cant find anything except the Loop stuff, which is no good for me as i only want to advance one record when OK is pressed.
I need the user to be warned that they are at the end of the recordset and that they should then use the search box provided to enter another area to begin the process again (I know how to do the msgbox stuff).
This sounds like it should be really easy but I have used many different variations on the If EOF statement but none of them work!
Any suggestions?