<ma*************@npower.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
Hi Keith, I get an error message saying MS Access cant find macro ME.
am i been thick.
I have used:-
Me.txtText543 = Date
Thanks
Matt
You need to add the code to a class module - open your form in design view.
Select your combo box, then on the properties box select the "Event" tab.
In the After update event, select "[Event Procedure]", then click just to
the right of the white box area. This should open the class module and
place the cursor where the code needs to go.
"Me" is a keyword and refers to the current class module. Your text box is
an object associated with the class module, so when you type "Me." (note the
full stop/period) you should get an "intellisense" list containing the name
of your text box. Select the name from the list and that should do the
trick.
HTH - Keith.
www.keithwilby.com