A
antonette
I've seen so many threads regarding this, but haven't seen the answer
I'm looking for:
SELECT Styles.style_id, Item_Pricing.cost, Styles.market FROM Styles
LEFT JOIN Item_Pricing ON Styles.component_id = Item_Pricing.item_id;
Item_Pricing is a parameter query that will prompt for [market]. I'd
like to pass Styles.market as the value for the parameter, but can't
figure out how to do so.
I can use:
PARAMETERS [market] currency = 350;
SELECT Styles.style_id, Item_Pricing.cost, Styles.market FROM Styles
LEFT JOIN Item_Pricing ON Styles.component_id = Item_Pricing.item_id;
.... which will work, but "PARAMETERS [market] currency =
[Styles].[market];" does not. I know how to set this up within VBA,
but want this done via SQL/queries.
Thanks all --
I'm looking for:
SELECT Styles.style_id, Item_Pricing.cost, Styles.market FROM Styles
LEFT JOIN Item_Pricing ON Styles.component_id = Item_Pricing.item_id;
Item_Pricing is a parameter query that will prompt for [market]. I'd
like to pass Styles.market as the value for the parameter, but can't
figure out how to do so.
I can use:
PARAMETERS [market] currency = 350;
SELECT Styles.style_id, Item_Pricing.cost, Styles.market FROM Styles
LEFT JOIN Item_Pricing ON Styles.component_id = Item_Pricing.item_id;
.... which will work, but "PARAMETERS [market] currency =
[Styles].[market];" does not. I know how to set this up within VBA,
but want this done via SQL/queries.
Thanks all --