I have two tables in my Guitar practice database.
"phrases" contains short musical phrases with a target tempo to play it at(phraseTempo)
Fields: ID, phraseName, phraseTempo.
"logPhrases" records each practice session.
Fields: ID, phrasesID,logDate,logtime,logTempo,logMastery,logRelaxation
logTempo is the tempo I practiced at
logRelaxation is how relaxed I was on a scale from (0 to 10)
logMastery is how much I mastered the piece at that tempo (from 0 to 10)
I have over a year's worth of data, and I've been trying to design a query called qryStickingPoints that will pull out phrases that I've made the least progress in. I've struggled all evening and I can't even get beyond step 1
It should work something like this.
1. Take the 3 most recent entries from >6 months ago, and build an average score. We'll call this "OldGuitarScore"
2. Take the 3 most recent entries from now and, build an average score. We'll call this NewGuitarScore
3. The difference between New and Old is the improvement. The smaller the difference the more I need to work on this piece
I came up with a formula for score called GuitarScore. It's (logMastery+logRelaxation)+((logMastery+logRelaxation)*logTempo)). I tested this with my data in Excel and it gives me the results I want. But how to get MS Access to do this in a query is beyond me.
Would appreciate any help.
"phrases" contains short musical phrases with a target tempo to play it at(phraseTempo)
Fields: ID, phraseName, phraseTempo.
"logPhrases" records each practice session.
Fields: ID, phrasesID,logDate,logtime,logTempo,logMastery,logRelaxation
logTempo is the tempo I practiced at
logRelaxation is how relaxed I was on a scale from (0 to 10)
logMastery is how much I mastered the piece at that tempo (from 0 to 10)
I have over a year's worth of data, and I've been trying to design a query called qryStickingPoints that will pull out phrases that I've made the least progress in. I've struggled all evening and I can't even get beyond step 1
It should work something like this.
1. Take the 3 most recent entries from >6 months ago, and build an average score. We'll call this "OldGuitarScore"
2. Take the 3 most recent entries from now and, build an average score. We'll call this NewGuitarScore
3. The difference between New and Old is the improvement. The smaller the difference the more I need to work on this piece
I came up with a formula for score called GuitarScore. It's (logMastery+logRelaxation)+((logMastery+logRelaxation)*logTempo)). I tested this with my data in Excel and it gives me the results I want. But how to get MS Access to do this in a query is beyond me.
Would appreciate any help.