fraser_lindsay
Access wannabe
- Local time
- Today, 15:56
- Joined
- Sep 7, 2005
- Messages
- 218
Hi,
How do I stop the user getting teh end of recordset error when they try to navigate before the first or beyond teh last records on a form?
I have looked for "supress end of recordset error" and "loop at end of recordset " plus various other combinations but I keep getting things a tad too complicated for my needs.
I just want the macro I have on the previous/next buttons to loop to the first record again and stop the error appearing.
I tried adding 'on error' 'Run Macro' then run a macro which goes to the first record in my embedded macro but it doesn't seems to work or rather I'm probably not setting it correctly.
How do I stop the user getting teh end of recordset error when they try to navigate before the first or beyond teh last records on a form?
I have looked for "supress end of recordset error" and "loop at end of recordset " plus various other combinations but I keep getting things a tad too complicated for my needs.
I just want the macro I have on the previous/next buttons to loop to the first record again and stop the error appearing.
I tried adding 'on error' 'Run Macro' then run a macro which goes to the first record in my embedded macro but it doesn't seems to work or rather I'm probably not setting it correctly.