Skip Bisconer
Who Me?
- Local time
- Today, 06:30
- Joined
- Jan 22, 2008
- Messages
- 285
I have a query built from a linked Excel sheet. In the query I created a new field with an IIF statement subtracting one field from another, and if the result was lower than one of the fields it was to show the total, and if not, remain blank. Below is the expression:
UnderOverLP: IIf([QtyOnHand]-[LP]<[LP],[QtyOnHand]-[LP],"")
My problem is this number arrives with excessive places after the decimal. So I tried to set the numeric properties for this field and the property option is blank. Is this normal or am I doing something incorrectly? I have tried Round but then I get #Error in the rows that should be blank.
Any help would be appreciated.
UnderOverLP: IIf([QtyOnHand]-[LP]<[LP],[QtyOnHand]-[LP],"")
My problem is this number arrives with excessive places after the decimal. So I tried to set the numeric properties for this field and the property option is blank. Is this normal or am I doing something incorrectly? I have tried Round but then I get #Error in the rows that should be blank.
Any help would be appreciated.