Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2005
    Wichita, Kansas, USA
    Thanked 0 Times in 0 Posts

    Show total records in a header (2007)

    I have a form ParentInfo with a subform StudentInfo which includes a yes/no field "Active". In the header of the main form, I would like to have a text box that would always show the total records in the subform that are "Active". Is there an easy way to do this? Is that enough info?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Show total records in a header (2007)

    Put a text box txtCount on the subform with control source


    This text box can be hidden (Visible property set to No).

    Put a text box in the header of the main form with control source


    This assumes that StudentInfo is the name of the subform as a control on the main form. This is not necessarily the same as the name of the subform in the database window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts