Hi
Is there any way I can trap for the use of navigation buttons, such as
Next, Previous and New record?
Stapes
BruceM - 16 Jan 2008 13:40 GMT
Probably. Trap what and when?
> Hi
>
> Is there any way I can trap for the use of navigation buttons, such as
> Next, Previous and New record?
>
> Stapes
Tom van Stiphout - 16 Jan 2008 13:43 GMT
No. And there shouldn't be a reason for that. There are plenty of
events in an Access form that you can do anything you need without it.
Form_Current is probably the closest; it fires any time the user has
moved to another record.
What are you having difficulty with?
-Tom.
>Hi
>
>Is there any way I can trap for the use of navigation buttons, such as
>Next, Previous and New record?
>
>Stapes
Dale Fye - 16 Jan 2008 16:11 GMT
No. But you could create your own. I do this on lots of my applications,
when I want more control over the appearance and use of the controls that the
generic navigation buttons provide.
I think Allen Browne (www.allenbrowne.com) has code for a navigation control
subform that you could use as a start point for what you are doing.
Dale

Signature
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
> Hi
>
> Is there any way I can trap for the use of navigation buttons, such as
> Next, Previous and New record?
>
> Stapes
Douglas J. Steele - 16 Jan 2008 17:54 GMT
Don't know whether Allen does, but Stephen Lebans does at
http://www.lebans.com/recnavbuttons.htm if Allen doesn't.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> No. But you could create your own. I do this on lots of my applications,
> when I want more control over the appearance and use of the controls that
[quoted text clipped - 13 lines]
>>
>> Stapes
Rick Brandt - 17 Jan 2008 00:53 GMT
> Hi
>
> Is there any way I can trap for the use of navigation buttons, such as
> Next, Previous and New record?
>
> Stapes
Depends on what you *really* mean. Do you mean "when they use the navigation
buttons" or do you mean "when they navigate"? I ask because there are numerous
ways a user can change to a different record (navigate) without actually using
the buttons.
If you only need to know when they specifically use the buttons then the best
thing to do is remove the display of the built in ones and substitute your own
as others have suggested.
If you need to know any time they change records regardless of the means they
use to do so, then you need to use the Current event of the form. Of course
that fires "as you arrive at a record", not "as you are leaving a record". If
you need the latter then you have a dilemma as there is no simple way to do
that.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com