Thanks Duane, could I prevail on you further then.
Just to go over my problem again this is an extract from a previous post
in
this thread where I tried to explain the problem:
I have 7 fields which are categories of funding (I'll call them cat1,
cat2,
cat3 etc) that hold a percentage value of the percentage split of another
field (txtline) So txtline might be 20.6 of which the value of cat1 is 70,
cat2 is 16 and cat3 is 14, the other 4 values in this case are 0 but could
be
mumbers. This means that of the total of 20.6, 70% is category cat1 and
16%
is category cat2 and 14% is cat3 and 0% for the other categories.
I then have to calculate what is the value of the categories using this
formula: (txtline * cat1)/100 So this calculation for my example gives me
14,
3 and 3 (the figures are rounded to the nearest whole number) I'll call
these values Val1, Val2 and Val3 etc
I then calculate the total of my values as Sum(txtline) and Sum(Val1), Sum
(Val2), Sum(Val3) etc
I then calculate the weighted average as (Sum(Val1)/Sum(txtline))*100 for
each category.
The weighted averages are what appears on my report in the controls so I
have
7 controls which hold a numeric value which I would like to sort with the
largest first but I can't see any way of sorting them.
I do realise that I shouldn't start with a form but the people that supply
the data do so on a paper form (!) that has these values.
Could you suggest abetter way of doing this as at the moment my fields for
the 7 values sit in my main table along with the value of txtline.
many thanks
Tony
Duane said:
I thought I replied earlier but don't see it. If this is a duplicate then
this just enforces my opinion.
You should have a related table so the records can more easily be
displayed
in the report. Normalize, normalize, normalize...
Thanks Duane, I (and I suspect many novice Access users) always struggle
with
the question of normailsation. I think I understand the concept but not
sure
[quoted text clipped - 26 lines]