Hi All
WinXpPro Sp2
Access 2007
I have a custom inputbox (unbound) which is intended for users to supply various data incl Text, Integers, Doubles and Dates.
In order to police the input, I format the textbox on-the-fly in VB according to the required data. This does not seem entirely reliable however?
As you will see from the attached, I am trying to input a double with 2 decimal places but it gets refused. I have a label on the box in which (for diagnostic purposes) I write the latest format applied to the box... in this case double and 2 dec places.
Any idea why it's getting refused?
Smetimes also, I write a number into the box and when the value from the box gets passed back to it's parent form the number gets converted to a date/time format.. Values are passed back to the parent form as type Variant.
Clearly, I'm missing something here?
Thanks
WinXpPro Sp2
Access 2007
I have a custom inputbox (unbound) which is intended for users to supply various data incl Text, Integers, Doubles and Dates.
In order to police the input, I format the textbox on-the-fly in VB according to the required data. This does not seem entirely reliable however?
As you will see from the attached, I am trying to input a double with 2 decimal places but it gets refused. I have a label on the box in which (for diagnostic purposes) I write the latest format applied to the box... in this case double and 2 dec places.
Any idea why it's getting refused?
Smetimes also, I write a number into the box and when the value from the box gets passed back to it's parent form the number gets converted to a date/time format.. Values are passed back to the parent form as type Variant.
Clearly, I'm missing something here?
Thanks
Attachments
Last edited: