Results 1 to 2 of 2
  1. #1
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123

    Frustrating with joining 2-queries & editng

    Hi. Please initially accept my ignorance regarding my understanding of Forms & SubForms (or actually queries & subqueries). As I understand, one of the number-1 rules in Database Design is NEVER to have the same Field (fld) in more than one Table (tbl). Although I know this as a Database rule I greatly struggle with avoiding, knowing that I’m only A) creating more work for myself & B) creating more margin for error. I also have had no luck in joining tbls AutoNumber for my Primary Key (PK), but rather use 1-common (data) fld that enables me join 2 (or more) tbls together based on a common (data) flds between multiple tbls. The issue/problem I’m encountering is have & doesn’t allow me to do any editing within this query (joined by 2-tbls). Allow me to attempt to give an example of what I’m trying to explain: The database is a Music Library Database which has varies Tbls, but we’ll focus on 2-Tbls:


    Table:1: Music_Info_tbl
    -ArtistsID
    -ArtistsID_Name
    -Genre
    -DUP (Days Usually Played)
    -DyEvn: (Day time or Night time)


    Table 2: Music_Libray_tbl
    -ArtistsID
    -AlbmnsCDS: Albums (or CD’S) names
    -RD: Release Date
    -RcrdLbl: Record Label


    If ii were to create a Music_Library query (or actually a Form) based on ‘ArtistsID’ I wouldn’t be able to make any edits.


    It’s very frustrating for me because I need to be able to add new data. My thread might be confusing, but I anyone has any




    ideas/suggestions would be greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    A form does data entry for 1 table.

    Forms and subforms (tables/subtables, queries/subqueries) must be linked by PK and FK fields.

    Can't an artist be associated with more than one genre? Some artists 'crossover'. Associate genre with the music, not the artist.

    Music library database is a common topic in forum. Did you search?

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

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

Similar Threads

  1. Queries Joining 3 tables At Once
    By EddieN1 in forum Queries
    Replies: 2
    Last Post: 11-11-2013, 07:16 PM
  2. Trouble Joining Two Queries
    By ianclark2992 in forum Queries
    Replies: 2
    Last Post: 06-28-2013, 08:18 AM
  3. Frustrating coding
    By penfold1992 in forum Programming
    Replies: 5
    Last Post: 11-26-2012, 08:43 AM
  4. Please help , frustrating problem .
    By bahmadi in forum Access
    Replies: 5
    Last Post: 01-16-2011, 07:45 PM
  5. Re-curring FRUSTRATING issue
    By jgelpi16 in forum Programming
    Replies: 2
    Last Post: 08-10-2010, 05:37 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