S
Steve
I want to set a field on a form to zero when I enter the field. Then,
the user can go ahead and overwrite the zero if necessary.
So, on the On Enter event, I have:
me.txtSomeField = 0
That works ok. But, unless the user does actually overwrite the data,
the after update event doesn't fire.
I thought by setting the value to zero, that would dirty the field. I
even have:
me.dirty = true
but that doesn't help to fire the afterupdate event.
Any solutions? Of course, I can simply move the code to On Exit, but
I was curious.
Also, what is the difference between
me.txtSomeField = 0
and
me.txtSomeField.value = 0
they both seem to work, so what is the difference?
Thanks, Steve
the user can go ahead and overwrite the zero if necessary.
So, on the On Enter event, I have:
me.txtSomeField = 0
That works ok. But, unless the user does actually overwrite the data,
the after update event doesn't fire.
I thought by setting the value to zero, that would dirty the field. I
even have:
me.dirty = true
but that doesn't help to fire the afterupdate event.
Any solutions? Of course, I can simply move the code to On Exit, but
I was curious.
Also, what is the difference between
me.txtSomeField = 0
and
me.txtSomeField.value = 0
they both seem to work, so what is the difference?
Thanks, Steve