Stephen Lebans Navigation Button Problem

D

Dadioles

I have cross posted this from "microsoft.public.access.gettingstarted" in
the hope of a response. Access 2000.

I tried using Stephen Lebans record navigation button subform which
effectively reproduces the default navigation buttons and it worked
beautifully except that the text box showing the current record number and
the total number of records remained empty.

If anyone has the time to quickly download Stephen Lebans record navigation
buttons sample database (excellent by the way) and try it I would be most
grateful.
http://www.lebans.com/recnavbuttons.htm

The zip file is only 28k and contains a very basic table and a few forms.
One form is the navigation buttons subform and another is a form containing
the navigation buttons as a subform to show how they work. There is another
form which does not contain the navigation buttons and if I drag the
navigation button subform into it I get exactly the same problem that I have
with my own database, the buttons work perfectly but do not display the
record number. That suggests to me that I need to do something in addition
to just dragging the navigation button subform onto the form where I want
the navigation buttons to appear. I just cannot see what to do and there is
no documentation, a classic case of the programmer assuming too much
knowledge in the novice.

Oh for a bigger brain...... (or maybe just a younger one).

Thanks for listening.

Les
 
D

Dadioles

After a good nights sleep and fresh eyes I have solved the problem.
Quite simple - unless you cannot see it.

The solution was to add this entry to the master form in which the
navigation button subform was embedded:

--------------------------
Private Sub Form_Current()
' ** YOU MUST CALL THIS SUB HERE ***
' Enable/Disable Navigation Buttons as required
Call Me.SFfrmNavButtons.Form.EnableDisableButtons
End Sub
---------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top