Data Lookup or query?

P

p-rat

I have two fields (text boxes). Text box 1 is a Location and always
has data inputed. Text box 2 is an Sub Location but only sometimes
gets data inputed.

I would like to be able to pull up that if Text box 1 is being filled
in that prior data that matches pulls up and also if there is any
matching data for Text box 2 that it would get filled in autmatically
too.

I guess almost like a combo box where it will recognize from a query
or whatever, but then also automatically fill in the next field (text
box 2)???
 
J

Jeanette Cunningham

You could change the text box 1 to a combo that has both the value for text
box 1 and the corresponding value for text box 2.
In the after update event of the combo, you can set the value of textbox 2
to the value from the appropriate column of the combo.

Jeanette Cunningham
 

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

Top