Results 1 to 2 of 2
  1. #1
    MOB is offline Novice
    Windows 11 Access 2016
    Join Date
    Jan 2024
    Posts
    2

    I'm trying to make a form that has information from multiple tables and I don't know how.

    Hello All,


    So to be exact I'm building a database for a food company (school project) and I need to make it so my forms can be edited and what not.
    I have the Clients which could have allergies and food preferences, 1 Client can have multiple allergies \ preferences and most do.

    Now the question is how do I make a form that allows me to see all the alergies and how can I see all the allergies on a form, and how can i edit, change, etc... in the form.

    If you have questions please ask I'm available.

    Another question is that I have a Field called Sex# which is either 1 or 2. 1 = Male and 2 = Female. How can I make a Field Sex which takes the information above and autofills to M or F depending on the number.


    Click image for larger version. 

Name:	Capture d'écran 2024-01-25 001501.png 
Views:	19 
Size:	16.5 KB 
ID:	51372Click image for larger version. 

Name:	Capture d'écran 2024-01-25 001639.png 
Views:	19 
Size:	40.0 KB 
ID:	51373Click image for larger version. 

Name:	Capture d'écran 2024-01-25 001737.png 
Views:	19 
Size:	60.4 KB 
ID:	51374

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Best design for relating one record (e.g. a person) with many records (allergies) is to use a main form (person) subform (the many). You should have at least a table for persons, one for allergies and a junction table for persons/allergies. I suspect you're going to ask what a junction table is. Instead, do yourself a favour and research db normalization.

    I don't know where you're located but a table field for sex/gender that can be only M or F seems quite archaic.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 1
    Last Post: 06-14-2017, 02:10 PM
  2. Replies: 7
    Last Post: 10-16-2016, 01:16 PM
  3. Form Information from multiple tables.
    By Homegrownandy in forum Access
    Replies: 1
    Last Post: 08-27-2015, 05:20 AM
  4. Replies: 1
    Last Post: 12-18-2012, 02:50 PM
  5. Replies: 2
    Last Post: 08-04-2011, 08:07 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