V
Varsha
Hi!
I have a data entry form with numerous controls. This
form was not linked to any table when it was designed.
What I want to accomplish is when a user selects a value
from say combo1, it should go to table1(which has 2
columns), look that value up from table1 (column1), find
a matching record and display the corresponding value
from column2 of the table in some textbox called text1 on
my form.
I have been trying to use the OnExit event of combo1, but
am not sure whether thats where I write the code. I do
not know how to associate a query that would populate my
textbox with the desired value.
THANKS
I have a data entry form with numerous controls. This
form was not linked to any table when it was designed.
What I want to accomplish is when a user selects a value
from say combo1, it should go to table1(which has 2
columns), look that value up from table1 (column1), find
a matching record and display the corresponding value
from column2 of the table in some textbox called text1 on
my form.
I have been trying to use the OnExit event of combo1, but
am not sure whether thats where I write the code. I do
not know how to associate a query that would populate my
textbox with the desired value.
THANKS