E
ericgj
I am trying to set the text property of a textbox in order to trigger a
Change() event on it (Access 2003). The textbox is enabled, not locked,
visible, and unbound. I set focus to it before trying to change the text
property. Why is this giving me an error 2135, "This property is read-only
and can't be set"? The docs say Text is a read/write property.
Me.txtCount.SetFocus
Me.txtCount.Text = Cstr(ntot) ' ntot is Long
The current Value of Me.txtCount is "". I can change Me.txtCount.Value, but
of course this doesn't trigger the Change() event.
Any help greatly appreciated.
Change() event on it (Access 2003). The textbox is enabled, not locked,
visible, and unbound. I set focus to it before trying to change the text
property. Why is this giving me an error 2135, "This property is read-only
and can't be set"? The docs say Text is a read/write property.
Me.txtCount.SetFocus
Me.txtCount.Text = Cstr(ntot) ' ntot is Long
The current Value of Me.txtCount is "". I can change Me.txtCount.Value, but
of course this doesn't trigger the Change() event.
Any help greatly appreciated.