L
lance.schaeffer
I have a situation where I am trying to change the default object
property through VBA.
The specific property is the caption of a label.
I have code which updates the label caption to the appropriate text,
but when I close the form and reopen it, I lose the updated value, and
the caption reverts back to the "default" caption as it looks in the MS
Access Properties screen.
My question is, is there anyway to change the caption "permanently",
thus the default property, through VB, or can I only have the change
last for that instance of the form?
The code I'm using currently is
Me!Label.caption = "NewTextHere"
Is there an alternative?
Thanks,
Lance
property through VBA.
The specific property is the caption of a label.
I have code which updates the label caption to the appropriate text,
but when I close the form and reopen it, I lose the updated value, and
the caption reverts back to the "default" caption as it looks in the MS
Access Properties screen.
My question is, is there anyway to change the caption "permanently",
thus the default property, through VB, or can I only have the change
last for that instance of the form?
The code I'm using currently is
Me!Label.caption = "NewTextHere"
Is there an alternative?
Thanks,
Lance