S
sandy112675
I am working on a school project which I have been for weeks. I have
one problem that I can't resolve. I have a two tables that I have to
divide to get a percent of free throws made. I have 0 that appear in
the each table and sometimes both of the them have 0. I used the
following query expression:
freethrows: IIf([stat_freetrows_taken]=0,"0%",[stat_freetrows_made]/
[stat_freetrows_taken])
This works but shows that data in decimal form. I have to show this
in % form. I even highlighted it in design view and clicked on
properties to format to percent but everything stays in the decimal
form. How can I get this formatted to percent?
I tried other queries but have been getting the error message because
of divding by 0.
Can you tell me how I can improve my query to format to percent or can
you let me know if there is a better query that I can use to divide
the freetrows made by freetrows taken?
Thanks!
Sandy
one problem that I can't resolve. I have a two tables that I have to
divide to get a percent of free throws made. I have 0 that appear in
the each table and sometimes both of the them have 0. I used the
following query expression:
freethrows: IIf([stat_freetrows_taken]=0,"0%",[stat_freetrows_made]/
[stat_freetrows_taken])
This works but shows that data in decimal form. I have to show this
in % form. I even highlighted it in design view and clicked on
properties to format to percent but everything stays in the decimal
form. How can I get this formatted to percent?
I tried other queries but have been getting the error message because
of divding by 0.
Can you tell me how I can improve my query to format to percent or can
you let me know if there is a better query that I can use to divide
the freetrows made by freetrows taken?
Thanks!
Sandy