Results 1 to 3 of 3
  1. #1
    mbenton's Avatar
    mbenton is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2015
    Posts
    73

    Designing a form with a header

    I'm running into a few challenges with a form. I'm trying to design a form with a header. My header has a few fields i.e., date, period, and user name. These fields are located in one table called Headertbl. Data from the main form comes from my parts table, "Partstbl", each part has a part number, model number, cost, etc... which are all fields in that table. I don't want a header for each part but I want to select the Period (a drop down combo box) which changes the header on my form and also brings up all parts associated with that period. In other words when I select my period in the header I want it to do two things, 1. change my form header, and 2. group all parts for that selected period. Any advice? Thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Put all the items needed for the header in the combo box. When user picks it, apply the combo columns to the header boxes..
    Code:
    sub cboBox_afterupdate()
      txtBox2 = cboBox.column(2)
      txtBox4 = cboBox.column(3)
    end sub

  3. #3
    mbenton's Avatar
    mbenton is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2015
    Posts
    73
    Got it! Thanks ranman, very helpful.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 06-15-2016, 08:45 AM
  2. Help Designing this form
    By johnny878 in forum Forms
    Replies: 1
    Last Post: 12-22-2014, 05:09 PM
  3. Replies: 13
    Last Post: 06-13-2014, 03:25 PM
  4. Replies: 1
    Last Post: 04-06-2014, 10:58 AM
  5. Designing Form
    By Kookai in forum Forms
    Replies: 0
    Last Post: 07-30-2010, 11:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums