Results 1 to 6 of 6
  1. #1
    alexanderf is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    3

    Change number of teams and team names

    Who can help me with my access database.
    I want to change the maximum teams in 19 teams instead of the 12 teams
    And change the team names ito: Team 1 and Team 2

    I have closed by the databases



    Thanks
    Attached Files Attached Files

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    I would make a tConfig table. In it a MaxTeams field.
    then when you are entering teams into a season, it checks this number as the limit.

    make an update query , change oldName to Team1 . Etc.

  3. #3
    alexanderf is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    3
    Quote Originally Posted by ranman256 View Post
    I would make a tConfig table. In it a MaxTeams field.
    then when you are entering teams into a season, it checks this number as the limit.

    make an update query , change oldName to Team1 . Etc.
    How do you do that???

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Please provide more details. There are three tables that I can see that carry the team. What do you want your data to look like once the updates have been done?

    Note: with naming conventions, whenever a field is on more than one table always give it the same name, e.g. Team ID. And never use "ID", it is meaningless. Also, no spaces or funny characters in field names.

  5. #5
    alexanderf is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    3
    I must have teams with 6 people in it so i must have 18 or 19 teams.

    Now i have only 12 teams with more than 6 people in it.

    And i want to change also the team names from:
    Balpen in Team 2
    Kladblok in Team 12

  6. #6
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    First get your table structure correct:
    - a table containing teams with TeamID and TeamName
    - a table of people containing PersonID and PersonName (not sure what those other fields are)
    - a table that is a cross-reference, containing TeamID and PersonID

    Once you have created this structure and put data into the first two tables, repost your database so that we can get a better understanding of where you want to end up. Is this an ongoing database, will you be adding more people and making up more teams?

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

Similar Threads

  1. Update Query to Change Names of Hyperlinks
    By d-mcc56 in forum Queries
    Replies: 5
    Last Post: 01-11-2018, 05:14 PM
  2. Replies: 4
    Last Post: 10-16-2014, 08:57 AM
  3. Replies: 3
    Last Post: 01-24-2014, 03:33 PM
  4. Replies: 2
    Last Post: 11-29-2013, 12:13 PM
  5. Change Excel Sheet Names
    By qwerty1 in forum Access
    Replies: 4
    Last Post: 06-12-2012, 09:53 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