division by zero. whats happening?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a summary query based on a detailed query and I want to do the above.
I have a column for calculating the total amount charged for overtime and
the overall total (contracted hours plus overtime).

I want to calculate the percentage spent on overtime charges of the overall
total.

when I put this into the query

overtpct: ([overtime]*100)

it works fine but when I try to divide this by the overall total it says
"division by zero" when it clearly isn't!!!

So whats happening.

cheers
 
Scubadiver,

It's hard to see what's happening without the query SQL text. Did you
confirm the overall total is not zero by including it in the query?
Please post the SQL.

Immanuel Sibero
 

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

Update Queries 4
Queries? 9
Division by Zero Error 1
Negative Numbers 2
Duplicate Field Names 6
Calculating Overtime Problem 2
Division By Zero error 2
Dates 1

Back
Top