Thanks for help
Im putting =[fldDISCOUNT] / 100 in the after update text box for this field
on the form.
I couldn't get anything to change. I tried your Iif function and got the
same result.
The structure is quite simple.
unit price - discount * qty on a subform datasheet view.
Is there something i'm missing somewhere?
Thanks again
geeves1293
Duane Hookom said:
You could add some code to the After Update event of the text box like:
If Me.txtYourTBoxName > 1 Then
Me.txtYourTBoxName = Me.txtYourTBoxName /100
End If
--
Duane Hookom
Microsoft Access MVP
:
Simple yes, but a bit annoying when having to put .1 instead of 10 to get
what i want.
I'm going to have to put a comment on field for other users on how to put
10% in field.
Thanks
geeves1293
:
Simple
.10 is 10 percent
10 is 10 * 100 percent or 1000 percent
Percent format just show the number as percentage points.
John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
geeves1293 wrote:
Hi all,
I've got a field as number - percent - 0 decimal - double.
When I enter 10 and tab on it changes to 1000% not the expected 10%.
Anybody know why this is?
Thanks
Geeves1293