Results 1 to 6 of 6
  1. #1
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22

    Complicated Form

    I have a fully normalized (TNF) database, which you can examine here:

    Code:
    https://docs.google.com/open?id=0BzEN-8iqecFtX1A1SFd4UzdyTlk
    I need to create a form to enter scores into the scores table. I would like the user to click on a row item from the MatchDates table. Then use the WeekNmbr from that row to find all rows for that weeknmbr in the matchups table. Use the two team id's from each row to find the team names in the teams tables. Then, for each matchup, list the two teams beside each other. Beside each team, I need the names of the four players from that team (from the players table), and then three blank boxes for each player where a score could be entered into the scores table. Ideally would be able to enter all 24 scores for each matchup (paired-teams) on the same page.



    Can I do all this in the form or should I create some queries to minimize the number of objects?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Need to create records in the table then open or requery the form to display those records. I would use VBA code to execute SQL actions that INSERT records to table. This is not a simple process to automate.

    Review
    https://www.accessforums.net/access/...orm-25302.html
    https://www.accessforums.net/program...nts-26223.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    istari88 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Kentucky, USA
    Posts
    13
    I see you have already made some queries. Any used for this form already?

  4. #4
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22

    Form Problem

    Quote Originally Posted by June7 View Post
    Need to create records in the table then open or requery the form to display those records. I would use VBA code to execute SQL actions that INSERT records to table. This is not a simple process to automate.

    Review
    https://www.accessforums.net/access/...orm-25302.html
    https://www.accessforums.net/program...nts-26223.html
    I don't understand why I would need to create records and requery to display those values. I only want to populate one table (the scores table) and only for one week (at a time). I just need to use all the other tables to get the correct team iD's, player ID's and week numbers for this table.

  5. #5
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22
    The web site http://www.datapigtechnologies.com/f...combobox1.html has great tutorials about the use of combo boxes. It will probably take me (part time) a few weeks to make it work, but I'm pretty sure combo boxes are going to solve my problems. I will repost if I need further help and will close this issue with an update when I get it done. Thx for all the suggestions.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I misread your original post. Possibly because already dealt with other posters who did want to create a set of records and present them to user for completion with additional data. Yes, comboboxes will probably accomplish what you want and DataPig does have great tutorials.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Complicated
    By Ganymede in forum Queries
    Replies: 3
    Last Post: 01-22-2012, 06:25 PM
  2. Complicated form
    By secret in forum Access
    Replies: 14
    Last Post: 09-07-2011, 10:16 PM
  3. Complicated IIF?
    By Sweetnuff38 in forum Queries
    Replies: 1
    Last Post: 08-18-2011, 01:13 PM
  4. Replies: 2
    Last Post: 11-23-2010, 11:44 AM
  5. Complicated ASP SQL to Access db
    By KLynch0803 in forum Programming
    Replies: 0
    Last Post: 01-31-2010, 08:32 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