I have a subform that displays doubles in a textbox as fixed with 4 decimal places as default. I have been trying to change the number of decimal places based on the value in a textbox on the main form.
I have tried this:
where [Final PCT] is the textbox on the subform containing the decimal number and Numdecs is the textbox on the main form containing the number of decimals I want to use.
I want to implement this Form_Current sub.
:banghead:
If someone could point me in the right direction I'd be grateful.
I have tried this:
Code:
Forms![Main Form]![Holder_subform].Form![Final PCT].[DecimalPlaces] = CByte(Forms![Main Form].Numdecs)
I want to implement this Form_Current sub.
:banghead:
If someone could point me in the right direction I'd be grateful.