D
Dan Smith - Sojourn
Apologies if this is an obvious question, but I can't find any suitable query
function or operator. I have a series of tables with RI enforced foreign
keys. When keying data into a given row, I want to be able to limit the
combo box values by a value I have already entered on the current
(uncommitted) row.
Is there an SQL function or a VBA method of qualifying the combo box query
to limit the results of the query by a value on the current row?
For example...
select
J1.Part_No
from
Parts J1
where
J1.Part_Year = current row (INV.Part_Year)
;
* where INV.Part_Year is a value on the row I am keying to table INV
Any help is greatly appreciated.
function or operator. I have a series of tables with RI enforced foreign
keys. When keying data into a given row, I want to be able to limit the
combo box values by a value I have already entered on the current
(uncommitted) row.
Is there an SQL function or a VBA method of qualifying the combo box query
to limit the results of the query by a value on the current row?
For example...
select
J1.Part_No
from
Parts J1
where
J1.Part_Year = current row (INV.Part_Year)
;
* where INV.Part_Year is a value on the row I am keying to table INV
Any help is greatly appreciated.