hide navigation button in form

fleury

Registered User.
Local time
Yesterday, 21:46
Joined
Jul 2, 2011
Messages
27
Hello all!!!
I need to hide navigation button in my form cuz i added search button with better functions on the form page.
However, i wish to show the page number of every single pages in the form. How can i do that?
Thx for help!!:):)
 
Hi..

In Design View, view the Format tab and set Navigation Buttons to No.

Add a textbox to the form and the form's current event type of this procedure..:

Code:
Dim trz As DAO.Recordset
Dim recCount As Long

Set trz = Me.RecordsetClone

With trz
    .MoveFirst
    .MoveLast
    recCount = .RecordCount
End With
Me.texbox_name = "Record " & CurrentRecord & " of " & recCount
 
Hi..

In Design View, view the Format tab and set Navigation Buttons to No.

Add a textbox to the form and the form's current event type of this procedure..:

Code:
Dim trz As DAO.Recordset
Dim recCount As Long

Set trz = Me.RecordsetClone

With trz
    .MoveFirst
    .MoveLast
    recCount = .RecordCount
End With
Me.texbox_name = "Record " & CurrentRecord & " of " & recCount

1st I need create a textbox named texbox right?
Then i insert the code given to AfterUpdate event of texbox?

Thanks very much!!
 

Users who are viewing this thread

Back
Top Bottom