Format

  • Thread starter Thread starter Fie
  • Start date Start date
F

Fie

In my query am trying to do a claculation, but how do i get the format
to express the answer as a %...

query is........... %Uptake: [ No Meals]/[Poss Meals]
 
Hi,


Format the result where you need to show the result (ie, in the form, or in
the report).


? format(0.1266, "percent")
12.66%


Alternatively, in the query designer, select the column corresponding to
your computed expression, right click to get the properties, the second line
preset "Format", select Percent.


Finally, if you really cannot do otherwise, compute

[%Update]: Format( [ No Meals]/[Poss Meals], "percent" )


Note that then, the result is a string, NOT a number anymore.


Hoping it may help
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Queries... 2
Values 7
Not sure what to do 1
Set up.... 9
Saving Values 3
Percentage 3
The Totally Incomprehensible Kindness Of Strangers 8
Validation Rules 1

Back
Top