From: love on

"TonyWilliams via AccessMonster.com" <u56994(a)uwe> wrote in message
news:a3e015cb5403b(a)uwe...
>I have a control that is based on an expression in a query. This is the
> expression:
> txtaverage:
> IIf([txtNbrPartsOver1]=0,"0",[SumOftxtnbrparts]/[txtNbrPartsOver1]
> )
>
> I have set the format of the control to 0 decimal places but it still
> shows 2
> decimal places not a whole number rounded.
> What can I do to force a whole number?
> Thanks
> Tony
>
> --
> Why don't my grey cells communicate with each as fast as they used to? I
> hate
> getting old!
>
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201002/1
>

From: love on

"TonyWilliams via AccessMonster.com" <u56994(a)uwe> wrote in message
news:a3e015cb5403b(a)uwe...
>I have a control that is based on an expression in a query. This is the
> expression:
> txtaverage:
> IIf([txtNbrPartsOver1]=0,"0",[SumOftxtnbrparts]/[txtNbrPartsOver1]
> )
>
> I have set the format of the control to 0 decimal places but it still
> shows 2
> decimal places not a whole number rounded.
> What can I do to force a whole number?
> Thanks
> Tony
>
> --
> Why don't my grey cells communicate with each as fast as they used to? I
> hate
> getting old!
>
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201002/1
>

From: love on

"TonyWilliams via AccessMonster.com" <u56994(a)uwe> wrote in message
news:a3e015cb5403b(a)uwe...
>I have a control that is based on an expression in a query. This is the
> expression:
> txtaverage:
> IIf([txtNbrPartsOver1]=0,"0",[SumOftxtnbrparts]/[txtNbrPartsOver1]
> )
>
> I have set the format of the control to 0 decimal places but it still
> shows 2
> decimal places not a whole number rounded.
> What can I do to force a whole number?
> Thanks
> Tony
>
> --
> Why don't my grey cells communicate with each as fast as they used to? I
> hate
> getting old!
>
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201002/1
>