Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2015
    Posts
    2

    Relationships & Tables

    I am creating a database for our youth sports club and running into issues with my relationships (or at least I think that is where the issue is).

    tblPlayerNATWE (This table has all the basic PlayerID (primary key/auto#), Name, Address, Phone, Contact Info for the players. This is the "main" record as this generally won't change.)
    tblPlayerSeasonData (This table has the season year, PlayerNATWE_ID, team information, jersey size, etc. This is the data that changes every year as they are on different teams every year and their uniform sizes change every year.)
    tblPlayerPayments (This table has the season year, PlayerNATWE_ID, payment date, payment amount, etc. This is the data to record their payments for the year, each season.)

    I created one-to-many relationships with tblPlayerNATWE and the tblPlayerSeason Data.

    I created one-to-many relationships with tblPlayerNATWE and the tblPlayerPayments.


    I am trying to create a query that shows me the financial information:
    Player Name
    Address
    Phone
    Season Year
    Payment Date


    Payment Amount


    When I build the query and insert the two tables and the desired fields, I get the error: Type mismatch in expression.


    Any thoughts on what I am doing wrong?

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,043
    Hi,

    if tblPlayerNATWE.PlayerID is an autonumber field, than the corresponding FK field tblPlayerPayments.PlayerID should be a numeric field type long integer. If that is not the case, you can post a sample database, so we can have a look at your tables.

    kind regards
    Noëlla

  3. #3
    Join Date
    Aug 2015
    Posts
    2
    Wow...so simple. Thank you so much. That worked.

    Now I can quit banging my head against the wall and move on.

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

Similar Threads

  1. Help with tables and relationships
    By DCarrollUSMC in forum Access
    Replies: 2
    Last Post: 10-15-2012, 02:33 PM
  2. Many to Many Relationships among 8 tables
    By Pilotwings_64 in forum Database Design
    Replies: 9
    Last Post: 10-30-2010, 03:12 AM
  3. 8 Tables with Relationships
    By bigdogxv in forum Access
    Replies: 1
    Last Post: 12-09-2009, 09:37 PM
  4. Tables Vs Relationships
    By Bruzer in forum Database Design
    Replies: 8
    Last Post: 09-06-2009, 04:39 PM
  5. I need help on relationships for tables.
    By justin.w in forum Access
    Replies: 0
    Last Post: 10-16-2006, 10:57 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