I don't know how to do that. I'm not sure I understant it either.
So I opened up my query in which the report is based off of.
I highlighted the Date field in red.
So in it's place it should read:
Code:
FROM [tbl1_PartPricingDataAggregation.Date]
Where
AND (IsNull([Forms]![SelectScope]![inputDate])
OR ([Forms]![SelectScope]![inputDate] <= [tbl1_PartPricingDataAggregation.Date]
Query sql:
Code:
SELECT
tbl3_HierarchySeg.L1,
tbl3_HierarchySeg.L2,
tbl3_HierarchySeg.L3,
tbl2c_PartneoClientAcc.Client,
tbl2b_PartneoSeg.PFC,
tbl2b_PartneoSeg.PFN,
tbl2b_PartneoSeg.PSFC,
tbl2b_PartneoSeg.PSFN,
tbl2a_PPNCharacteristics.PartStatus,
tbl2a_PPNCharacteristics.Competitivity,
tbl2a_PPNCharacteristics.PNDescription,
tbl2a_PPNCharacteristics.PivotPart,
tbl2a_PPNCharacteristics.PPN,
tbl1_PartPricingDataAggregation.PNAggregation,
tbl1_PartPricingDataAggregation.Brand,
tbl1_PartPricingDataAggregation.Price,
tbl1_PartPricingDataAggregation.Currency,
tbl1_PartPricingDataAggregation.Market,
tbl1_PartPricingDataAggregation.Range,
tbl1_PartPricingDataAggregation.Date,
tbl1_PartPricingDataAggregation.MatchStatus,
tbl1_PartPricingDataAggregation.Comments,
tbl1_PartPricingDataAggregation.Source,
tbl1_PartPricingDataAggregation.Photo
FROM
(tbl1_PartPricingDataAggregation
LEFT JOIN (tbl2a_PPNCharacteristics
LEFT JOIN (tbl2b_PartneoSeg
LEFT JOIN tbl2c_PartneoClientAcc
ON tbl2b_PartneoSeg.PAID = tbl2c_PartneoClientAcc.PAID)
ON tbl2a_PPNCharacteristics.PAID_PFC_PSFC = tbl2b_PartneoSeg.PAID_PFC_PSFC)
ON tbl1_PartPricingDataAggregation.PPN = tbl2a_PPNCharacteristics.PPN)
LEFT JOIN tbl3_HierarchySeg
ON tbl2b_PartneoSeg.L2_L3 = tbl3_HierarchySeg.L2_L3;