F
Fox
Hi
I was wondering if anyone could help me with a combo box on a sub form
I have a form products that has a subform SuppliesUsed on the supplies used
subform I have a dependent combo box that looks up a value based on another
field.
The following rowsource works perfectly if I open the subform without the
main products form but not when the products main form is opened.
SELECT UnitPriceqry.[Unit Price]
FROM UnitPriceqry
WHERE (((UnitPriceqry.Supply)=[Forms]![SuppliesUsed]![SupplyCombo]));
how do I write the sql so that it knows that the form suppliesUsed is a
subform of the form Products?
Thanks,
I was wondering if anyone could help me with a combo box on a sub form
I have a form products that has a subform SuppliesUsed on the supplies used
subform I have a dependent combo box that looks up a value based on another
field.
The following rowsource works perfectly if I open the subform without the
main products form but not when the products main form is opened.
SELECT UnitPriceqry.[Unit Price]
FROM UnitPriceqry
WHERE (((UnitPriceqry.Supply)=[Forms]![SuppliesUsed]![SupplyCombo]));
how do I write the sql so that it knows that the form suppliesUsed is a
subform of the form Products?
Thanks,