Good enough for me to understand. It might have been better to give the
names of all the controls that are affected. I used txtField for the result
since I didn't know the name.
Put the code in the AfterUpdate event. Click on the Event tab in the form's
property sheet (in Design View) Double-Click in the AfterUpdate event box.
It should change to read: [Event Procedure]
Now click on the ellipses button (...) that appears at the end of that line.
You'll be taken to a code stub which will allow you to paste the body of the
code in. Change the controlnames to those of your controls, and the values
to whatever you wish. That's it!
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
robb said:
Thanks for the reply
Im relatively new to this so two more questions...
was my original question descriptive enough? and
Do I write the code into the txt box control properties?
thanks again