G
Guest
I have the following code in my form:
DoCmd.RunSQL "SELECT tbl_masterpop_new.[Loan Acct #],
tbl_masterpop_new.[status], tbl_masterpop_new.[PopEnterDt] INTO tbl_history
FROM tbl_masterpop_new INNER JOIN tbl_masterpop ON tbl_masterpop_new.[Loan
Acct #] = tbl_masterpop.[Loan Acct #] WHERE tbl_masterpop.Status <>
tbl_masterpop_new.Status", -1
When I look at the results from the query, I notice that it is not including
all the records I want it to. For example, if the [loan acct #] is in both
tables, but the [status] for that particular [loan acct #] is different in
each table, I still want that record retrieved from both tables in the query
results simply because the [status] has changed.
How should I amend my query?
Thanks in advcance,
geebee
DoCmd.RunSQL "SELECT tbl_masterpop_new.[Loan Acct #],
tbl_masterpop_new.[status], tbl_masterpop_new.[PopEnterDt] INTO tbl_history
FROM tbl_masterpop_new INNER JOIN tbl_masterpop ON tbl_masterpop_new.[Loan
Acct #] = tbl_masterpop.[Loan Acct #] WHERE tbl_masterpop.Status <>
tbl_masterpop_new.Status", -1
When I look at the results from the query, I notice that it is not including
all the records I want it to. For example, if the [loan acct #] is in both
tables, but the [status] for that particular [loan acct #] is different in
each table, I still want that record retrieved from both tables in the query
results simply because the [status] has changed.
How should I amend my query?
Thanks in advcance,
geebee