need help with percent

G

Guest

I have a qry where I want to divide "Regular Delay" by "Employee Regular
Time" and give me a percent. Example:

Regular Delay 2.5hrs
Employee Regular Time 8.0

=31%

I am using this in my Field.
DelayPercent: ([RegularDelay]/([Employee Regular Time]))

is there any way to show it as 31% on my Report with no decimals?

Thanks!!!
 
G

Guest

When in design mode of your report, right-click the percent field and go into
properties.

Format allows you to format for %
Decimal Places allows a specific number to the right of the decimal.

James
 
G

Guest

hi,

try:
format(x, "#,##0")
DelayPercent: format(([RegularDelay]/([Employee Regular Time]), "#,##0"))
 
G

Guest

Geebee, Im getting a Syntax Error (Comma) in query Expression DelayPercent:
format(([RegularDelay]/([Employee Regular Time]), "#,##0"))

geebee said:
hi,

try:
format(x, "#,##0")
DelayPercent: format(([RegularDelay]/([Employee Regular Time]), "#,##0"))




oxicottin said:
I have a qry where I want to divide "Regular Delay" by "Employee Regular
Time" and give me a percent. Example:

Regular Delay 2.5hrs
Employee Regular Time 8.0

=31%

I am using this in my Field.
DelayPercent: ([RegularDelay]/([Employee Regular Time]))

is there any way to show it as 31% on my Report with no decimals?

Thanks!!!
 
G

Guest

Worked great James!! Thanks for the help....

JamesDeckert said:
When in design mode of your report, right-click the percent field and go into
properties.

Format allows you to format for %
Decimal Places allows a specific number to the right of the decimal.

James

oxicottin said:
I have a qry where I want to divide "Regular Delay" by "Employee Regular
Time" and give me a percent. Example:

Regular Delay 2.5hrs
Employee Regular Time 8.0

=31%

I am using this in my Field.
DelayPercent: ([RegularDelay]/([Employee Regular Time]))

is there any way to show it as 31% on my Report with no decimals?

Thanks!!!
 

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


Top