Results 1 to 9 of 9
  1. #1
    Dal is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2023
    Posts
    11

    How To Create Optional Entity In Schema Design?


    Would the attached be the way to go about structuring the schema to make the MainHeaders & tHeaders optional?

    Any feedback is welcomed, it seems to violate the 1st rule of normalization as a lot of redundant data but I cannot see another way to make them optional.

    Click image for larger version. 

Name:	1.png 
Views:	26 
Size:	14.4 KB 
ID:	51706

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,944
    I have no idea what you are trying to accomplish. What do you mean by "optional" - exactly what is optional?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,655
    Is this an inner join/ left join issue?
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  4. #4
    madpiet is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    164
    how about showing us some data? Fake is fine. Just representative. I'm not sure what you're claiming is repeating or whatever. And not pictures. actual text. Or create a small table and add a minimal number of records. (like 2-3) Enough to show what you're talking about.

  5. #5
    madpiet is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    164
    how about showing us some data? Fake is fine. Just representative. I'm not sure what you're claiming is repeating or whatever. And not pictures. actual text. Or create a small table and add a minimal number of records. (like 2-3) Enough to show what you're talking about.

    I'm with June. I don't really understand what you mean about optional in this case. Are you talking about something like "if this column has a value, then several other columns would be required"? (Then you just follow her example. Create a 1:1 relationship between the two tables
    But is that what you mean? Please give an example or two.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,728
    Dal,
    As others have said, your requirement is unclear. Please give us the 30,000 foot overview description of the process(es) involved with enough info to understand WHAT you are trying to accomplish.

  7. #7
    Dal is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2023
    Posts
    11
    Sorry for the ambiguity - new to db's.

    Quote Originally Posted by Dal View Post
    make the MainHeaders & tHeaders optional?
    Click image for larger version. 

Name:	2.png 
Views:	14 
Size:	112.1 KB 
ID:	51712

    Quote Originally Posted by madpiet View Post
    "if this column has a value, then several other columns would be required"? (Then you just follow her example. Create a 1:1 relationship between the two tables
    But is that what you mean? Please give an example or two.
    Thanks madpiet - yes you have interpreted entirely correctly. Say:

    Main Heading 1
    Bill Item 1

    General Heading 1
    Bill Item 2
    Bill Item 3

    Main Heading 2
    Bill Item 4 - has no General Heading

    Would this be a problem for queries/ reporting later...?

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,944
    If you want to organize records under different categories (headings), that would be an output procedure and that's what reports are for.

    Perhaps you should provide db for analysis. Have you even started building db?

    Have you studied any Access tutorials? Could possibly benefit from a solid week with an introductory book.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,567
    Hi
    Can you upload a screenshot of your Access Relationship Window?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

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

Similar Threads

  1. Product Catalog design, multiple ref to the same entity
    By tregnier in forum Database Design
    Replies: 17
    Last Post: 08-27-2020, 03:45 PM
  2. Entity Relationship
    By dfean in forum Access
    Replies: 2
    Last Post: 09-04-2016, 08:54 AM
  3. Need Help with Design / Schema
    By DJDJDJDJ in forum Access
    Replies: 10
    Last Post: 05-20-2015, 09:35 AM
  4. Replies: 1
    Last Post: 05-18-2014, 10:44 AM
  5. Replies: 2
    Last Post: 10-23-2012, 12:18 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