If txtName = x, then txtLName = x

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

A friend of mine was asking me how he could have a text
box in a form display a value dependant upon a value
entered in the one before it. For example:

Text Box1: __________
Text Box2: __________

If the number 8 was entered in Text Box1, then the number
20 would autopop into Text Box2. I know this should be
easy, but haven't used this for quite some time and am
having to do this in Access 97 for him and am having probs.

Thanks much.
 
I'm no expert, but what I have done is in the go to the
event tab of the properties for that text box and
determine when you want the event to occur (on enter, got
focus etc). Then use the pull down and select event
procedure and click the little button. There you can
write your code to do the calculations.

Hope that helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top