I am dealing with unbound controls (textbox and comboboxes) and would like to add the flexibility of being able to refer to either the "text" or "value" property.
Why do I get that this is an invalid reference to the property value 2455
I thought this was the full form of what I can do and that what I have above is a short version
Why do I get that this is an invalid reference to the property value 2455
Code:
dim valuetype as string
valuetype = "Value"
Me.txt_date.Properties(valuetype)
Code:
Forms("formname").Controls("controlname").Properties("propertyname")