Results 1 to 6 of 6
  1. #1
    smg is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Apr 2019
    Posts
    121

    Change to list box on subform that populates table

    I have a list box in a subform that allows users to select the Error from this Error Table and write it to a Detail table:

    ID Error Desc
    1 A Alpha
    2 B Beta
    3 C Charlie

    Now they want to add subcategories to Error Table and have it write the ID to the detail table as shown below:

    ID Error Desc Subcategory


    1 A Alpha 1
    2 A Alpha 2
    3 A Alpha 3
    4 B Beta 1
    5 B Beta 2
    6 B Beta 3
    7 C Charlie 1
    8 C Charlie 2
    9 C Charlie 3



    How can this be done easily?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    the subform will use combo box as the key
    they choose combo =A
    the subform will add the A , then the user need only add Sub CAT (& date?)

    be sure to bind the subform to the masterform:
    LINK MASTER FIELDS=[ERROR]
    LINK CHILD FIELDS = [ERROR]

  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
    BE aware that "ERROR" is a reserved word in Access and shouldn't be used for object names.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    So is DESC, if it matters to anyone.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Ack!! I missed that one....

  6. #6
    smg is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Apr 2019
    Posts
    121
    Great thank you all

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

Similar Threads

  1. Replies: 1
    Last Post: 08-11-2014, 09:57 AM
  2. Replies: 1
    Last Post: 05-27-2013, 09:46 PM
  3. Replies: 11
    Last Post: 12-25-2011, 04:33 PM
  4. Replies: 2
    Last Post: 10-11-2011, 07:24 PM
  5. Replies: 3
    Last Post: 09-26-2009, 01:57 PM

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