Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace Navigation Button info on subform 2

Status
Not open for further replies.

netrusher

Technical User
Feb 13, 2005
952
US
I currently have a subform that populates from an AfterUpdate
Event on the MainForm. The controls on the SubForm actually
get the information from a query. Once a PartNumber is
selected from a ComboBox on the Mainform a query is ran
with the PartNumber used as the criteria of the query. This
works well. On the Subform I have turned off the Navigation
Buttons and have inserted command buttons to move from
record to record. My question is this. When the Navigation
Buttons are not turned off it allows the Navigation from
record to record but it also says Record 1 of 4.
Since I have the Navigation Buttons turned off (this is
necessary), is there a way for me to show Record 1 of 4
or whatever the number is
another way and keep the
command buttons?
 
Put a label in the footer section of the subform and then, in the Current event procedure of the subform:
yourLabel.Caption = Me.Recordset.AbsolutePosition + 1 & "/" & Me.Recordset.RecordCount

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top