Some of this makes sense, but most of it does not.
1. What is BatchID in the Registration Table related to?
2. What's the purpose of the Test Registration Table? Why doesn't it show the test result?
3. The Arts table looks OK.
4. What is the purpose of the Batch table? It appears to be related to the Registration table.
5. The Discipline table makes no sense. It appears you have multiple columns that should be rows instead.
6. The Result table looks fairly OK, but there's no column to save the result of the test.
7. The Tests table seems to mimic something I suggested, and it may be OK if you clean up Discipline.
8. Attendance table may be OK if you explain Batch to me.
Have you used the Relationships facility in Access to define how these tables are related? You should have a clear hierarchy of relationships defined using this feature.
John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
(Paris, France)
On Jan 30, 2017, at 9:49 PM, jamshi285 jamshi285 jamshi285@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi John
It is full structure of my table can you check please
Sent from Yahoo Mail for iPhone
KarateStrengthPush UpSquatSit UpBack Sit UpDatchiHAISOKODUYOYKIBAZENetc.GeriMAIYOKOMAWASHIURA MAWASHIUSHIRO
Kung FuStandsTypes of stands …
So, your "results" table needs to look like:
ResultID, StudentID, Date, ArtID (Karate or Kung Fu), DisciplineID (Strength, Datchi, Geri), TestID, Result
Arts table: ArtID, ArtName (Karate or Kung Fu)
Disciplines table: ArtID, DisciplineID, DisciplineName
Tests: ArtID, DisciplineID, TestID, TestName
The Arts, Disciplines, and Tests tables define the hierarchy I've laid out above.
Your Results fields for ArtID, DisciplineID, and TestID pull values from the three hierarchical tables - filtering Discipline for the Art selected and Test for the Discipline and Art selected.
I've just made up names for Art, Discipline, and Test - you can assign names to the levels of the hierarchy that make sense to you.
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 30, 2017, at 12:31 PM, jamshi285 jamshi285 jamshi285@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi John
When we checking Karate Grading test i have to check each students All there flexibility,
Streangth,speed,Datchi,Geri.etc.
each one have sub and there resultsexample:(Strength----->"Push Up";"Squat";"Sit Up";"Back Situp")Result--(Push up result,Squat result,Sit up Result,Back Situp Result)(Datchi---->"HAISOKODU,YOY,KIBA,ZEN,ZEN KUTZU,KOKUTZU,NIKO AISHI)
datchi result
(Geri----->MAI" result;"YOKO" result;"MAWASHI" result;"URA MAWASHI"result;"USHIRO"result)It also same model for kung fu diffrent types of test
Example
standz then will check all types of standz and each one have seperate results
On Sunday, January 29, 2017 5:01 PM, "John Viescas JohnV@msn.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com> wrote:
You originally told me you had these tests:
Shoshin #1
Kihon #1
Nage #3
Kumite #3
Jissen #1
Push up
Sit up
Crunches
Squats
And
3. Traditional Forms
4. DefensE
5. Basic Skills
6. Discipline
7. Flexibility
8. Strength
9. Speed
10. Punches
11. Kicks
You said one is for Karate and the other is for Kung Fu.
Please explain how Geri and Datchi divisions relate to all of this. Are those divisions for Karate or Kung Fu?
Maybe you need: Course (Karate or Kung Fu), Division, Test.
You need to explain to me all the data points you want to capture and how they are related. What is the hierarchy?
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 29, 2017, at 10:00 AM, jamshi285@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi Johnas per your suggestion I created a tables but I am facing some problems
Example If I am going to make a karate student Grading Test
From Course Tests Table : CourseID, TestID, TestName(Geri.........> MAI GERI,YOKO GERI,MAWASHI GERI,URA MAWASHI,USHIRO)these all are sub in Geri division It all has deferent results.
then another test name ((Datchi---->"HAISOKODU,YOY,KIBA,ZEN,ZEN KUTZU,KOKUTZU,NIKO AISHI)like this all field have diffrennt sub names and result
Thanks
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :
Why did you not follow my instructions and include the previous discussion?
It is a bad design to have two "course" tables. It is also not good to have all the different tests listed as columns. Each test should be in its own row - one row per test. I assume you put some sort of grade or number value in for each test. I would suggest tables like this:
Courses: CourseID, CourseName (Karate or Kung Fu)
CourseTests: CourseID, TestID, TestName
Then have a table that records for each student how he or she performed on a given test on a certain date.
StudentTests: StudentID, CourseID, TestID, TestDate, Rating
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 28, 2017, at 4:12 PM, jamshi285@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
hi johntable for two different tables for "courses is course 1 is Karate and course 2 is Kung Fu,,it has different types of Grading test.TestID point to Course 1&2
__._,_.___
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (17) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
.
__,_._,___
Tidak ada komentar:
Posting Komentar