Re: Refer to itself
- From: "john" <hgf@xxxxxxxxxx>
- Date: Sun, 30 Sep 2007 18:42:44 +0200
Thanks!
John
"Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx> schreef in bericht
news:46ffc765$0$3609$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Unfortunately, Access does not expose the name of the control the event is
for, or the name of the executing event.
If the user typed into the control, it will be:
Me.ActiveControl
That may not be the case if the event procedure is executing because you
called it like this:
Call Text0_BeforeUpdate(False)
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"john" <hgf@xxxxxxxxxx> wrote in message
news:b7853$46ffc5d7$5354c91b$31151@xxxxxxxxxxxxxxxxxxxxxxxxxx
I have a bound textfield in my form. In the beforeupdate event of that
field I want to refer to that field's value. What's the easiest way to
refer to that field's value?
st = MyFieldName works but I'd rather refer in a more generic way like
st = Me (which doesn't work).
Thanks,
john
.
- References:
- Refer to itself
- From: john
- Re: Refer to itself
- From: Allen Browne
- Refer to itself
- Prev by Date: Re: Database Options - Any other settings I should adjust?
- Next by Date: Re: Database Options - Any other settings I should adjust?
- Previous by thread: Re: Refer to itself
- Next by thread: Re: Refer to itself
- Index(es):
Relevant Pages
|