+ Reply to Thread
Results 1 to 3 of 3

What am doing wrong? Creating a relationship between two tables.

  1. #1
    Forum Contributor
    Join Date
    03-06-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2007, 2010
    Posts
    127

    What am doing wrong? Creating a relationship between two tables.

    The situation,

    I have four different bank account numbers. I created a table with the field names "ID" (assigned by Access), "BankName", and "AccountNumber".

    I'm trying to create a relationship between my imported bank transactions table, that has an equivalent account number field, to the "AccountNumber" field in my bank account table. In my mind this should be a one to many relationship and I should be able to create a subdatasheet, but Access isn't having it. It's creating a one to one relationship and the subdatasheet records do not match their parent record. Any suggestions?
    BrownBoy

    If happy, mark "SOVLED" & add to "REP"

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: What am doing wrong? Creating a relationship between two tables.

    tBank table has 1 key: the BankID (autonum or text )

    tAcct table has 2 keys:
    [BankID] (long if tBank.BankID = autonum)
    [AcctNum] (text)

    Join the [BankID] fields, set the relationship 1 to many, 1 bank has many accounts.

  3. #3
    Forum Contributor
    Join Date
    03-06-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2007, 2010
    Posts
    127

    Re: What am doing wrong? Creating a relationship between two tables.

    Thanks ranman256,

    I found the solution minutes after I posted this. I was attempting the incorrect "Join" between the tables.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 09-13-2012, 09:08 AM
  2. Relationship between Cell and Data Tables
    By NeshaNYC in forum Excel General
    Replies: 0
    Last Post: 08-15-2011, 10:55 AM
  3. Creating a relationship between 3 excel files.
    By Ghostcode in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-28-2011, 02:27 PM
  4. Creating relationship between 2 sheets of data
    By Evetsllub in forum Excel General
    Replies: 1
    Last Post: 07-14-2010, 04:37 AM
  5. [SOLVED] Creating one line that models a quadratic relationship?
    By Tim in forum Excel General
    Replies: 0
    Last Post: 01-10-2006, 08:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1