M
mattc66 via AccessMonster.com
I have following on the row source for my chart that is a sub form of my main
form "frmOR_POInfo_C2" I want the ITEM found on the main form to be the Item
linked to the chart to show the related data from the qryItemsConsumed. I
have the below = )=[frmOR_POInfo_C2].[ITEM] but that doesn't seem to be the
proper syntax. Can anyone help?
SELECT qryItemsConsumed.SORT1 AS PERIOD, Sum(qryItemsConsumed.SOLD) AS
SumOfSOLD FROM qryItemsConsumed WHERE (((qryItemsConsumed.ITEM)=
[frmOR_POInfo_C2].[ITEM])) GROUP BY qryItemsConsumed.SORT1 ORDER BY
qryItemsConsumed.SORT1 DESC;
form "frmOR_POInfo_C2" I want the ITEM found on the main form to be the Item
linked to the chart to show the related data from the qryItemsConsumed. I
have the below = )=[frmOR_POInfo_C2].[ITEM] but that doesn't seem to be the
proper syntax. Can anyone help?
SELECT qryItemsConsumed.SORT1 AS PERIOD, Sum(qryItemsConsumed.SOLD) AS
SumOfSOLD FROM qryItemsConsumed WHERE (((qryItemsConsumed.ITEM)=
[frmOR_POInfo_C2].[ITEM])) GROUP BY qryItemsConsumed.SORT1 ORDER BY
qryItemsConsumed.SORT1 DESC;