Hi,
I want to retrieve data from two tables, tbl-1 and tbl-2. I wonder how to make it work using recordset. Should I have 2 recordsets opened? How to set the sqlCriteria?
Here is the sql selection:
SELECT tbl-1.field-1
FROM tbl-1
WHERE tbl-1.field-1 Not In (Select tbl-2.field-1 from tbl-2) And (tbl-1.field-1)<>(value read from form)
ORDER BY tbl-1.field-1
Thanks for helping!
chrislx
I want to retrieve data from two tables, tbl-1 and tbl-2. I wonder how to make it work using recordset. Should I have 2 recordsets opened? How to set the sqlCriteria?
Here is the sql selection:
SELECT tbl-1.field-1
FROM tbl-1
WHERE tbl-1.field-1 Not In (Select tbl-2.field-1 from tbl-2) And (tbl-1.field-1)<>(value read from form)
ORDER BY tbl-1.field-1
Thanks for helping!
chrislx