Okay, I figured it out. You should not perform work arounds when you can not
make things work. There is a reason for everything and a reason why I was not
getting my results before in my problem stated below.
Solution:
I used the following SQL statement below then in Design View in the Percnt
column I highlighted and selected Properties and set Format to Fixed and
Decimal Place to "0." Now, I have my desired output. You will notice below
that instead of multiplying by 100, I just multipled by 1.
SELECT qryTop10ByInstitutions.[Institution_ Name],
qryTotalCountOfALLStudents.SumOfCountOfDegree_Program,
qryTop10ByInstitutions.[CountOfInstitution_ Name],
Format(qryTop10ByInstitutions.[CountOfInstitution_
Name]/qryTotalCountOfALLStudents.SumOfCountOfDegree_Program)*1 AS Percnt
FROM qryTotalCountOfALLStudents, qryTop10ByInstitutions;
Now my '%" sign shows up on all my values and I am happy again!
TL
> Hello,
>
[quoted text clipped - 18 lines]
> Thanks for your help.
> TL
Conan Kelly - 29 Feb 2008 19:25 GMT
TL,
What is the point of multiplying by 1? There should be no need for it.
Also, keep in mind that by formatting like you did (IMO is the correct way
to do it), your query is DISPLAYING no decimal places, but what is showing
is not the value. For example, lets say we are working with a number of
0.123456789. With your method, 12% will show, but the actual value will
still be 12.3456789 %. Are you going to need to use this percentage in a
calculation? If so, 12.3456789 % will be used and not 12%. Will that be
correct for the calculation? If you need to use 12% then you should use a
rounding function on your data.
HTH,
Conan
> Okay, I figured it out. You should not perform work arounds when you can
> not
[quoted text clipped - 47 lines]
>> Thanks for your help.
>> TL