Overflow

C

Chris

I get an "Overflow" error when i try to do simple division. Is there any way
to troubleshoot the error?
 
D

Dirk Goldgar

In
Chris said:
I get an "Overflow" error when i try to do simple division. Is there
any way to troubleshoot the error?

Please show the line of code, and state the data types of all variables
involved in the operation.
 
G

George Nicholson

Be sure to avoid division by zero. It can cause Overflow errors in queries.

iif(x = 0, 0, y/x)


HTH,
 

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

Top