A
Alastair MacFarlane
Dear All,
I am trying to create a form based on a query that is updatable and keep
getting into problems. I have 2 tables:
TableA with 3 Fields:
ExpenseID (PK - Long Integer)
JobNo (Text - 5)
JobDate (Date)
and TableB with 2 Fields:
PostID (PK - Long Integer)
JobNo (Text - 5)
Ideally what I am trying to do is create an updatable query that will show
me only the job numbers in TableA that have not been 'posted' into (i.e.
appearing in) TableB.
My conclusion is to create a RIGHT JOIN between the 2 tables with TableA on
the Left side and TableB on the Right side ON TableA.JobNo = TableB.JobNo
WHERE TableB.JobNo Is Null.
This works only as far as the resulting recordset is not updatable. How can
I create a query that is updateable and excludes all the JobNo's in TableB?
As far as I am aware I can't use a sub-query because there will be more that
one value returned from TableB.
This has got me stumped.
Thanks again.
Alastair MacFarlane
I am trying to create a form based on a query that is updatable and keep
getting into problems. I have 2 tables:
TableA with 3 Fields:
ExpenseID (PK - Long Integer)
JobNo (Text - 5)
JobDate (Date)
and TableB with 2 Fields:
PostID (PK - Long Integer)
JobNo (Text - 5)
Ideally what I am trying to do is create an updatable query that will show
me only the job numbers in TableA that have not been 'posted' into (i.e.
appearing in) TableB.
My conclusion is to create a RIGHT JOIN between the 2 tables with TableA on
the Left side and TableB on the Right side ON TableA.JobNo = TableB.JobNo
WHERE TableB.JobNo Is Null.
This works only as far as the resulting recordset is not updatable. How can
I create a query that is updateable and excludes all the JobNo's in TableB?
As far as I am aware I can't use a sub-query because there will be more that
one value returned from TableB.
This has got me stumped.
Thanks again.
Alastair MacFarlane