J
JD
I need to set the default value of a textbox and combobox with the selected
value until it is changed, then the new value becomes the default value. I
have used this code in the AfterUpdate Event in the past but it is not
working.
Me.txtTextbox.DefaultValue=Me.txtTextbox.Text
Me.cboCombobox.DefaultValue=Me.cboCombobox.Value
I get the ?Name? error in the control on the form.
How do I fix it?
value until it is changed, then the new value becomes the default value. I
have used this code in the AfterUpdate Event in the past but it is not
working.
Me.txtTextbox.DefaultValue=Me.txtTextbox.Text
Me.cboCombobox.DefaultValue=Me.cboCombobox.Value
I get the ?Name? error in the control on the form.
How do I fix it?