calculations in a form

T

Twatry

I am having trouble getting the correct calculations in a form. I have the
format set for [ncoa qty] to standard number and [ncoa m] is currency. I
basicly have to take [ncoa qty] / 1000 and * [ncoa m] to get total. I do need
to make sure the total is >= 100. Below is what I have so far, any help
would be wonderful.

=IIf(IsNull([ncoa qty]),Null,IIf(Round(Sum([ncoa qty]/1000)*[ncoa
m],2)<100,100,Round(Sum([ncoa qty]/1000)*[ncoa m],2)))
 
G

Gina Whipp

Twatry,

You didn't mention what is making this wrong or not work or ???? I did
change your formula slightly as using Null while trying to do calculations
only causes issues.

=IIf(Round(Sum(Nz([ncoa qty],0)/1000)*[ncoa m],2)<100,100,Round(Sum(Nz([ncoa
qty],0)/1000)*[ncoa m],2))

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 

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