Here's the setup I have 4 columns I want to display on my report. The first is store, second product code, third product name, and 4th Price. Store information is stored in a table, product code and price are in another table, and price is in a third table. A store can have many products and a product can have many stores. Over time a product can have many prices.
I'm grouping on store, product code and group spanning product name on product code.
I only want to display the most current price. To do this I am adding the price tables unique key to the query and filtering descending on the unique key in the query so the latest unique key is on top. This causes the latest price to be on top as well. Now I only want to display the latest price, so I group span Price and Price Unqiue Key on Product Code.
This produces exactly what I want, most of the time. I've found though that often after saving the report and closing it, I'll come back to the report and the oldest price will display instead of the latest price. I'll then have to redo all of the steps mentioned above to get the report to display properly.
Any thoughts on why?
I'm grouping on store, product code and group spanning product name on product code.
I only want to display the most current price. To do this I am adding the price tables unique key to the query and filtering descending on the unique key in the query so the latest unique key is on top. This causes the latest price to be on top as well. Now I only want to display the latest price, so I group span Price and Price Unqiue Key on Product Code.
This produces exactly what I want, most of the time. I've found though that often after saving the report and closing it, I'll come back to the report and the oldest price will display instead of the latest price. I'll then have to redo all of the steps mentioned above to get the report to display properly.
Any thoughts on why?