Results 1 to 3 of 3
  1. #1
    mjwillyone is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2010
    Posts
    11

    Access 2007 Clickable Header to show Summary Data on Form

    I have three tables in Access 2007. The first is the donor contact information. The next two tables are linked by the the GiftRef (gift reference) field. The first table (G03GHDR) shows the main information (gift header) of donations given to our organization, one field being the entire value of the donation The next table (G04GDL)shows the detail of the gift (i.e. how much of the check goes to project a, how much to project b, etc.)



    I was able to create a form that shows the donor info at the top, and a sub-form of the gift header at the bottom.

    I am trying to find a way so that when the gift header is clicked (maybe a plus sign next to it), the gift detail opens up below it. Honestly, I am good at searching this forum for help, but I don't even know what to call this.

    Can someone help?

    Thank you very much!
    Mike

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    this would be a Sub form.
    put the subform in the form, make it invisible.
    when user clicks the header:

    subDetail.visible = true

  3. #3
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I would have a query based on table "G03GHDR" in the main form detail section.
    In the footer would be a subform based on a query (based on table "G04GDL"). Link the main form/ sub form on the PK/FK fields
    Is "GiftRef" a number field?


    Would you post your dB? Only need a few records for testing. Change any sensitive data.....

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

Similar Threads

  1. Replies: 2
    Last Post: 09-23-2014, 08:36 AM
  2. Page header alignment in Access 2007
    By kamerriman in forum Reports
    Replies: 1
    Last Post: 06-27-2014, 02:37 PM
  3. Replies: 1
    Last Post: 04-06-2014, 10:58 AM
  4. Replies: 6
    Last Post: 12-01-2013, 07:24 PM
  5. Summary table query Access 2007
    By DesCall in forum Access
    Replies: 4
    Last Post: 05-05-2011, 02:38 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