W
Wayne-I-M
Has anyone created a VBA solution to inserting 12.34 into a field using VBA.
_ _ _ _ _ _ _ _ _ _ _
I have a touchscreen application that is used to complete various forms.
One of the forms consists of a few number and currency input boxes that are
used elseware in the application (they can’t be text).
For the numbers it is simple to add digits to a field formatted as general
number.
Me.FieldName = Me.FieldName & 1
Will add the digit 1 to whatever is in the box so 1234 will become 12341 etc
This of course does not work for currency as you can’t use & sign to add to
a currency field.
I have tried formating the table field to text then using CCur to knock it
back to currency AfterUpdate (this works except for the “.†– decimal point,
£12.34 – the dot before the 34 pence section).
I have also tried converting the control to text – inserting the text – then
back to CCur on AfterUpdate. Does not work ;-(
Has anyone created a VBA solution to inserting 12.34 into a field
Any help or tips pointing somewhere in the right direction would be really
appreciated (spent quite a while on this).
_ _ _ _ _ _ _ _ _ _ _
I have a touchscreen application that is used to complete various forms.
One of the forms consists of a few number and currency input boxes that are
used elseware in the application (they can’t be text).
For the numbers it is simple to add digits to a field formatted as general
number.
Me.FieldName = Me.FieldName & 1
Will add the digit 1 to whatever is in the box so 1234 will become 12341 etc
This of course does not work for currency as you can’t use & sign to add to
a currency field.
I have tried formating the table field to text then using CCur to knock it
back to currency AfterUpdate (this works except for the “.†– decimal point,
£12.34 – the dot before the 34 pence section).
I have also tried converting the control to text – inserting the text – then
back to CCur on AfterUpdate. Does not work ;-(
Has anyone created a VBA solution to inserting 12.34 into a field
Any help or tips pointing somewhere in the right direction would be really
appreciated (spent quite a while on this).