G
Guest
I am trying to retrieve data from one table and compare it to another table,
and print data from the second table based on the first table. The two
tables are linked by a common variable (name). One table contains input data
from a form, including the name. The second table contains a list of
possible names, as well as their location. i would like to display for all
input items (on table1) the corresponding location matched from table2, based
on the matching of the name on the two tables. I have created a query with
an outer join between the two tables (using name), but all I get are the
results from table1, and nothing from table2. As an example, if the name
fred is input on the form and placed on table1, i would like to match that
with the name fred on table2 and print out chicago, as it corresponds on
table 2 in the same record. I would like to do this for all values at once.
and print data from the second table based on the first table. The two
tables are linked by a common variable (name). One table contains input data
from a form, including the name. The second table contains a list of
possible names, as well as their location. i would like to display for all
input items (on table1) the corresponding location matched from table2, based
on the matching of the name on the two tables. I have created a query with
an outer join between the two tables (using name), but all I get are the
results from table1, and nothing from table2. As an example, if the name
fred is input on the form and placed on table1, i would like to match that
with the name fred on table2 and print out chicago, as it corresponds on
table 2 in the same record. I would like to do this for all values at once.