S
sheela
I have Acess 2002 vesrion. I am having problem with outer
join. I am querying from two tables. The table1 has only
one field with values from 1 through 81. (81 rows)
It is a parameter query, once the user gives the correct
values to the query prompts, the query will result only
one record from table2.
But I need the results in 81 rows, (all the rows, from
table1, null values for the table 2 fields, for the
remaining records).
I am using the following query. This query should result
81 records, but it is giving only one record. For some
reason it is using inner join, not outer join.
What am I doing wrong here? I appreciate the help ASAP.
SELECT table1.PositionNum, table2.Field1, table2.Position
FROM Table1 LEFT JOIN table2 ON Table1.PositionNum =
table2.Position
WHERE (((table2.Field1)=[Please enter the ..]));
TIA,
Sheela
join. I am querying from two tables. The table1 has only
one field with values from 1 through 81. (81 rows)
It is a parameter query, once the user gives the correct
values to the query prompts, the query will result only
one record from table2.
But I need the results in 81 rows, (all the rows, from
table1, null values for the table 2 fields, for the
remaining records).
I am using the following query. This query should result
81 records, but it is giving only one record. For some
reason it is using inner join, not outer join.
What am I doing wrong here? I appreciate the help ASAP.
SELECT table1.PositionNum, table2.Field1, table2.Position
FROM Table1 LEFT JOIN table2 ON Table1.PositionNum =
table2.Position
WHERE (((table2.Field1)=[Please enter the ..]));
TIA,
Sheela