G
Guest
I have a CrossTab Query that gives the current price of an SKU from a market
price survey. If the SKU hasn't been surveyed within the past 90 days the
zone price is ignored. I have one zone (76) that is surveyed very 6 months.
When this zone drops out of the CrossTab resolutes, it affects the MakeTable
Query by not recognizing the zone "76" as a valid field name. I would like
to be able to still provide the zone "76" with Null even if the CrossTab
Query doesn’t pick up any data. Also, still give the resolutes for zone "76"
when there is current data.
SURVEY TABLE
SKU ZONE RETAIL CHECKDATE
437640 74 1 / $10.99 14-May
437640 75 1 / $11.99 14-May
437640 76 1 / $12.99 12-Jan <== older than 90 days
438838 74 1 / $10.99 14-May
438838 75 1 / $11.99 14-May
438838 76 1 / $12.99 12-Jan <== older than 90 days
CROSSTAB (Apr 1)
SKU 74 75 76
437640 $10.99 $11.99 $12.99
438838 $10.99 $11.99 $12.99
CROSSTAB (July 2)
SKU 74 75 <== Zone "76" older than 90 days
437640 $9.99 $9.99
438838 $9.99 $9.99
price survey. If the SKU hasn't been surveyed within the past 90 days the
zone price is ignored. I have one zone (76) that is surveyed very 6 months.
When this zone drops out of the CrossTab resolutes, it affects the MakeTable
Query by not recognizing the zone "76" as a valid field name. I would like
to be able to still provide the zone "76" with Null even if the CrossTab
Query doesn’t pick up any data. Also, still give the resolutes for zone "76"
when there is current data.
SURVEY TABLE
SKU ZONE RETAIL CHECKDATE
437640 74 1 / $10.99 14-May
437640 75 1 / $11.99 14-May
437640 76 1 / $12.99 12-Jan <== older than 90 days
438838 74 1 / $10.99 14-May
438838 75 1 / $11.99 14-May
438838 76 1 / $12.99 12-Jan <== older than 90 days
CROSSTAB (Apr 1)
SKU 74 75 76
437640 $10.99 $11.99 $12.99
438838 $10.99 $11.99 $12.99
CROSSTAB (July 2)
SKU 74 75 <== Zone "76" older than 90 days
437640 $9.99 $9.99
438838 $9.99 $9.99