Results 1 to 2 of 2
  1. #1
    COforlife is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2009
    Posts
    10

    Query Help

    I have a table where the columns include: ID, Scholarship1, Scholarship2, etc. Under each scholarship heading is either a blank or "Y". What I'm wanting to do is reorganize this list to where I have only two columns: the ID and scholarship name (the heading name in the original table). I'd like to list out all the scholarships (new row for each) where a "Y" is present with the ID that is associated with it. I am obviously struggling with this, so any help you can provide would be appreciated. Thanks.



    -Chad

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    It appears that your table is not normalised, whereby you should a second table that contains the id of the parent record and an id of the scholarship name, known as the foreign key which is then linked to the primary key in your scholarships table, such as

    Parent Table

    ID
    Other field

    Linked Scholarships
    Primary Key
    Parent Id
    Scholarship FK

    Scholarships table

    Primary Key
    Description

    David

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

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