Results 1 to 4 of 4
  1. #1
    top1hat19 is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2011
    Posts
    14

    Multiple columns from 1 query field

    Ok here is my situation:
    I have a database with a few tables.

    FundsTable
    Ticker(PK) | FundName

    FundScoresTable
    Ticker(FK) | Score | Replacement

    Right now the Replacement is a ticker, but has no relationship

    I need to run a query that will show:
    Ticker | FundName | Score | ReplacementTicker | ReplacementName | ReplacementScore


    I tried to relate the ticker in FundsTable to Ticker AND Replacement, but query produced nothing. Anybody have any advice?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    With your query in design view, if you add the FundsTable twice, it should alias the second instance (like "FundsTable_1"). You would join the actual table to one of your fields and the aliased version to the other.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    top1hat19 is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2011
    Posts
    14
    Worked Perfectly! Thanks!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Median value for multiple columns
    By MIS_Analist in forum Queries
    Replies: 2
    Last Post: 10-08-2010, 11:14 AM
  2. Replies: 1
    Last Post: 02-05-2010, 08:33 AM
  3. Consolidate multiple columns into one
    By COforlife in forum Access
    Replies: 17
    Last Post: 10-19-2009, 01:12 PM
  4. Combo Box with multiple columns
    By desireemm1 in forum Access
    Replies: 1
    Last Post: 08-17-2009, 02:36 AM
  5. Multiple Price Columns
    By kmwhitt in forum Access
    Replies: 0
    Last Post: 04-04-2009, 09:48 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