jbh_blue
asked on
Problem clearing cache when running crystal report from asp.net thru IIS 5.1
the first report that I set the .selectionformula property
.SelectionFormula = " WHere policyid = " & Session("policyid")
and the report prints correctly, then I select a different customer, the Session variable gets reset, (I'm sure) but the report outputs the report from the first PolicyID.
I've tried many times, selecting customers in many different orders, but the report always prints with the first policyid
Is there something I need to reset in the report to get it to accept the new .SelectionFormula ?
Another export suggest that I clear cache, which I did using Response.Cache.SetCacheabi lity(HttpC acheabilit y.NoCache) , but that didn't work either.
Another expert suggested that I re-post this in the IIS or Web Browser forums.
.SelectionFormula = " WHere policyid = " & Session("policyid")
and the report prints correctly, then I select a different customer, the Session variable gets reset, (I'm sure) but the report outputs the report from the first PolicyID.
I've tried many times, selecting customers in many different orders, but the report always prints with the first policyid
Is there something I need to reset in the report to get it to accept the new .SelectionFormula ?
Another export suggest that I clear cache, which I did using Response.Cache.SetCacheabi
Another expert suggested that I re-post this in the IIS or Web Browser forums.
ASKER
unfortunately they are both my questions.
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks you
I've got the same issue.... did you work out how to disable the caching?
https://www.experts-exchange.com/questions/23894364/crystal-reports-selection-criteria.html
mlmcc