can't update all the records-PROBLEM

C

cervantes008

I am trying to update a number field with [column1] /
([column1]-[column2]) and I keep getting the "can't update all the
records" Error message.

When I have only "[column1]-[column2]," it works fine, but once I
divide I get the error.

Can anyone help out? Is there a way around this?
 
N

NthDegree via AccessMonster.com

cervantes008 said:
I am trying to update a number field with [column1] /
([column1]-[column2]) and I keep getting the "can't update all the
records" Error message.

When I have only "[column1]-[column2]," it works fine, but once I
divide I get the error.

Can anyone help out? Is there a way around this?

Is it possible that [column1] - [column2] is ever zero? Can't divide by zero.

Try this:

iif([column1] - [column2] = 0,0,[column1] / [column1]-[column2])
 

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