473,324 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

MS Access 2003 - Large DB - Multiple tables w/multiple queries from each table.

Ok, so I apologize in advance for the wordiness of what follows... (I am not looking for someone to make this for me, but to point me in the right direction for the steps I need to take.)

I was nominated at work to design a "system" that would allow us to track the performance of our employees. So I thought Access. Should be simple enough because I have made simple DB's with it before. I was wrong. This has turned into a bigger deal than I thought it would.

So I need as much help as you can give me.

I work for a stage show with performers. There are about 30 total employees. Of the 30, 12 people perform in each show in different show tracks. There are three shows per day, 365 days per year. The same 12 do not do all three shows every day. And, the 30 people are cross trained to do different show tracks.

So, Person 1 could be in the first, and second show as The Hero, and then the third show as the bad guy. Or only the third show.

What I need...

I need to be able to track the performers performance in the role they play during a specific show. And, this goes for all 12 in the show. Specifically, they are supposed to hit certain marks and do certain manuevers during the show. We want to rate them on whether they do it right or not. There are multiple (5-15) marks per different show track to capture data on during each show.

I have never done a DB that uses multiple tables that are linked together. Likewise I don't know how to setup the queries to make the reports. Ideally, I would like to create a simple entry screen that would allow for us to create a report for a specific: 1) Actor by name 2) specific role 3) Show track performed.

I started with a form for each track, that had entry fields for the marks that correspond to that track.
For example:
Hero Form
Performer name - Show Date - Show Time
Mark 1 - Mark 2 - Mark 3 - Mark 4 - etc

Bad Guy 1
Performer name - Show Date - Show Time
Mark 1 - Mark 2 - Mark 3 - Mark 4 - etc

I had set it so that each form wrote to one central table, but I was told that was a bad design. Unfortunately, I don't know how to make multiple table with multiple queries, joins, etc work.

I think this makes sense. Thank you in advance for your time.
Dec 28 '06 #1
8 3164
MMcCarthy
14,534 Expert Mod 8TB
OK

The first thing is you can't start with the forms you have to start with the tables and get the design right first. The following should get you started thinking in the right direction.

Mary

tblPreformers
PreformerID (Primary Key - Autonumber)
Name
Other personal information

tblRoles
RoleID (Primary Key - Autonumber)
RoleName
Show

tblTracks
TrackID (Primary Key - Autonumber)
TrackDescription

tblTrackPerRole
TrackID (Foreign Key to tblTracks)
RoleID (Foreign Key to tblRoles)
Both foreign keys go to make up a primary key

tblPreformersRoles
PrefRoleID (Primary Key - Autonumber)
PreformerID (Foreign Key to tblPreformers)
RoleID (Foreign Key to tblRoles)

A query based on the previous two tables will show the tracks the preformer should have completed for the role.

tblTracksCompleted

TracksCompletedID (Primary Key - Autonumber)
PreformerID (Foreign Key to tblPreformers)
RoleID (Foreign Key to tblRoles)
TrackID (Primary Key - Autonumber)
Rating
Jan 1 '07 #2
I had never seen (FK) before. I looked it up, and unless I am mistaken it is only used within an ADP, and therefore also requires connection to an SQL server. For a number of reasons with this project, this option is not available.

So, I guess I am only creating a MDB. How does this change the structure? Does this cause a problem for what I want to accomplish?
Jan 2 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
I had never seen (FK) before. I looked it up, and unless I am mistaken it is only used within an ADP, and therefore also requires connection to an SQL server. For a number of reasons with this project, this option is not available.

So, I guess I am only creating a MDB. How does this change the structure? Does this cause a problem for what I want to accomplish?
Foreign keys are used in all databases. Check out the following site regarding how they are used in Access.

About relationships in an Access database (MDB)

Mary
Jan 2 '07 #4
Thank you for your help, Mary.

Ok so I kinda get the (FK) thing.

But looking at your example:

If the Role is the peformers character in the show. And Track is the spot they are supposed to hit.
Then how would I structure it if each Role had say 15 Tracks per show.

Filling in the information:
RoleID1 = Hero
RoleID2 = Bad Guy 1
RoleID3 = Bad Guy 2
... to RoleID15 = Bad Guy 16

So for RoleID1 there are 15 Tracks per show, etc.

Would I have to make a Track table for each of the different RoleIDs?
Jan 3 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
Thank you for your help, Mary.

Ok so I kinda get the (FK) thing.

But looking at your example:

If the Role is the peformers character in the show. And Track is the spot they are supposed to hit.
Then how would I structure it if each Role had say 15 Tracks per show.

Filling in the information:
RoleID1 = Hero
RoleID2 = Bad Guy 1
RoleID3 = Bad Guy 2
... to RoleID15 = Bad Guy 16

So for RoleID1 there are 15 Tracks per show, etc.

Would I have to make a Track table for each of the different RoleIDs?
No you can see that the Track table has a field called RoleID. In the Track table you would have a record for each tract for each role. They can all be put in the same table. The other option is to have a join table between Track table with just list of all tracks and Role table with list of all roles. This would have two field TrackID and RoleID but in your case I don't think this is necessary.

Mary
Jan 3 '07 #6
I taught myself web dev., visual basic, and a ton of other apps, but this just isn't clicking in my head. I think for now, I may have bit off more than I chew. I think I am going to have to put this one aside until I can spend the time to really learn the ins and outs.

Thank you for all of your help.
Jan 9 '07 #7
MMcCarthy
14,534 Expert Mod 8TB
I taught myself web dev., visual basic, and a ton of other apps, but this just isn't clicking in my head. I think for now, I may have bit off more than I chew. I think I am going to have to put this one aside until I can spend the time to really learn the ins and outs.

Thank you for all of your help.
We've started up a new tutorial thread on the forum here. Check out the first item on the list about Table Structures.

Mary
Jan 11 '07 #8
Cool thank you.
Jan 11 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Frnak McKenney | last post by:
Back when computer dinosaurs roamed the earth and the precursors to today's Internet were tiny flocks of TDMs living symbiotically with the silicon giants, tracking access to data processing...
6
by: Matt Liverance | last post by:
I REALLY dont want to switch to oracle :( but I cant get these tables working any faster. I've got 2 dedicated servers, each with a slave, all run 32gig 15k rpm raid 5 on u320 perc raid...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
9
by: Alan Lane | last post by:
Hello world: Background: Yesterday, January 21, Doug Steele was kind enough to help me out on a Left Join problem. I was trying to return all stores and their Gross Adds for December, 2004...
35
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 =...
4
by: Bob Alston | last post by:
Some more, rather specific Access performance questions. IN a split front-end & back-end Access/Jet ONLY LAN situation, and with all query criteria fields and join fields indexed: 1. Is is...
2
by: egoldthwait | last post by:
I need to convert a 17mb access 2000 db to Oracle and house it in a Citrix farm. The issue: we have never converted an Access Db to Oracle but can probably use Oracle's Workbench to assist with...
2
by: ARC | last post by:
Just curious if anyone is having issues with Acc 2007 once the number of objects and complexity increases? I have a fairly large app, with many linked tables, 100's of forms, queries, reports, and...
6
by: simon.robin.jackson | last post by:
Ok. I need to develop a macro/vba code to do the following. There are at least 300 corrections and its expected for this to happen a lot more in the future. Therefore id like a nice...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.