Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / February 2006

Tip: Looking for answers? Try searching our database.

number of records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Klein - 11 Feb 2006 05:06 GMT
I have a subform that shows various records.  I want to have text box on the
subform that shows the number of records that the subform is sourced to.
What is the best way to do this.  I have looked at coding the form_load
event of the subform but can figure it out.  Also is there a way to set the
text box's control source and get this "record number"?
Steve Schapel - 11 Feb 2006 07:56 GMT
Jeff,

Put an unbound textbox in the Footer section of the form, and set its
Control Source property to...
 =Count(*)

Signature

Steve Schapel, Microsoft Access MVP

> I have a subform that shows various records.  I want to have text box on the
> subform that shows the number of records that the subform is sourced to.
> What is the best way to do this.  I have looked at coding the form_load
> event of the subform but can figure it out.  Also is there a way to set the
> text box's control source and get this "record number"?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.