A
aaron.usa
I humbly ask your expert opinion in an effort to save me countless
hours of trial and error.
A table exists called 'BandScore' in it are five diff't values.
ScoreA = 5
ScoreB = 4
ScoreC = 3
ScoreD = 2
ScoreE = 1
Counting the rows in the 'analyze' table I need to use that value to
determine which score gets applied and place that value in a table
called 'scores' field called 'gapscore' (until I understand the full
process, at which time I can put all of these calcs into one
statement, I'm hoping)
This score will be derived from the following statement;
If the row count from the analyze table > 15 then [Scores].[gapscore]
= [BandScore].[ScoreA]
If the row count from the analyze table > 11 <= 15 then [Scores].
[gapscore] = [BandScore].[ScoreB]
If the row count from the analyze table > 7 <= 11 then [Scores].
[gapscore] = [BandScore].[ScoreC]
If the row count from the analyze table >3 <= 7 then [Scores].
[gapscore] = [BandScore].[ScoreD]
If the row count from the analyze table <3 then [Scores].[gapscore] =
[BandScore].[ScoreE]
Oh wise ones, how would you make this happen?
I certainly thank you and offer mad adulation for any assist.
Kind Regards,
Aaron
hours of trial and error.
A table exists called 'BandScore' in it are five diff't values.
ScoreA = 5
ScoreB = 4
ScoreC = 3
ScoreD = 2
ScoreE = 1
Counting the rows in the 'analyze' table I need to use that value to
determine which score gets applied and place that value in a table
called 'scores' field called 'gapscore' (until I understand the full
process, at which time I can put all of these calcs into one
statement, I'm hoping)
This score will be derived from the following statement;
If the row count from the analyze table > 15 then [Scores].[gapscore]
= [BandScore].[ScoreA]
If the row count from the analyze table > 11 <= 15 then [Scores].
[gapscore] = [BandScore].[ScoreB]
If the row count from the analyze table > 7 <= 11 then [Scores].
[gapscore] = [BandScore].[ScoreC]
If the row count from the analyze table >3 <= 7 then [Scores].
[gapscore] = [BandScore].[ScoreD]
If the row count from the analyze table <3 then [Scores].[gapscore] =
[BandScore].[ScoreE]
Oh wise ones, how would you make this happen?
I certainly thank you and offer mad adulation for any assist.
Kind Regards,
Aaron