July 18, 2019 at 3:58 am
Got some unusual behavior. I've finished writing a SSRS report that gets data from an older version of MySQL (5.1.41). It runs using a view written by a colleague. I've added a bit of logic to filter the data:
SELECTCase Number
,Case Status
, Assigned,Investigation Due
,Investigation Completed
,Report Due
,Report Submitted
,Closure Due
,
Closed, Contractor, Investigator, Region
FROM secretarysreport
WHERE ((Region = @Region) OR
(@Region IS NULL))
If I take the query and put it into MySQL Workbench to run it, specifying something like NW for the region, it works fine. However, when I preview it in Visual Studio 2017, then change the selection (I've specified all valid values for Region), it doesn't change the data returned. Why is that? Why isn't the preview showing the changed value I've chosen when I view it in preview?
Rod
July 18, 2019 at 9:25 am
Studio caches data and uses it for previews.
Data is stored in .data files in the same folder where your report resides.
How to clean : either manually or in automated way (see link below)
https://www.sqlmsbi.com/how-to-clear-cache-in-ssrs-visual-studio/
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply