Results 1 to 6 of 6
  1. #1
    mrbaggins is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2010
    Posts
    7

    Changing information display method in forms

    Currently using a form for person details to show names, with each record being a person.



    There is a subform below this that shows all the activities the current person has in the system.

    The form displays as just label-textbox style while the subform is a datasheet of all relevant info.

    Is there some way to make the form itself be a datasheet of person details (or a dropdown, prefer multi-item list though) that when a person is selected, the subform updates? I've tried a few things but nothing works.

    Related problem, I have a drop down elsewhere in the program that displays a list of activities and lets the user jump to a specified one in the form. Is there someway to make a drop down show information from 2 or more separate fields? Even better, to show information from 2 or more separate fields, PLUS format it? (IE: Make it pull name and date, but display "Cricket (2010)")

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    I have an example that shows how to use two sub form that are linked. When you select a record in the top sub form, then lower sub form displays the related records.

    See:
    Documents stored in tables

  3. #3
    mrbaggins is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2010
    Posts
    7
    Thanks, hadn't thought of putting two sub forms in... That sounds like it fixes the first problem, at least to some extent... Any word on the other other parts?

  4. #4
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by mrbaggins View Post
    Related problem, I have a drop down elsewhere in the program that displays a list of activities and lets the user jump to a specified one in the form. Is there someway to make a drop down show information from 2 or more separate fields? Even better, to show information from 2 or more separate fields, PLUS format it? (IE: Make it pull name and date, but display "Cricket (2010)")
    Sure. Use a calculate query field

    Example In Query Designer:

    Code:
     
    DisplayText: [Namefieldname] & " (" & Tear([dateFieldName]) & ")"
    Example In SQL:

    Code:
     
     [Namefieldname] & " (" & Tear([dateFieldName]) & ")" as DisplayText

  5. #5
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Also see this example:

    25 Cool Control Tricks

  6. #6
    mrbaggins is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2010
    Posts
    7
    Thanks a bunch for the help. I actually gotten part way towards that with another part of the program, however was helped along a lot of the way with the wizard.

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

Similar Threads

  1. Changing information orientation
    By gumberculies in forum Reports
    Replies: 1
    Last Post: 06-10-2010, 07:48 PM
  2. Replies: 0
    Last Post: 05-09-2009, 09:04 PM
  3. Replies: 0
    Last Post: 03-17-2009, 11:25 AM
  4. Need help with database to display vehicle information
    By jlmnjem in forum Database Design
    Replies: 1
    Last Post: 07-25-2006, 08:48 PM
  5. Replies: 2
    Last Post: 11-09-2005, 02:51 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