clabarca Posted August 11, 2005 Posted August 11, 2005 Hello, I have the following problem: Using VS.NET, in VB, I am loading a report file (.rpt) into a report document object. During runtime, I modify the RecordSelectionFormula property to filter on a user entered criteria, and then I stream the report out as a PDF doc. The problem I have is that the RecordSelectionFormula has no effect at all. If I bind a report viewer object to the report document object, then the filter works, but if I stream out as PDF, it does not. The ONLY difference in the code is to either bind a report viewer to the report document or stream the report doc out as PDF. The original reports were created with CR 8.5. Any ideas? Is this a bug in Crystal? Any help wouldbe appreciated. Thanks Quote
clabarca Posted August 11, 2005 Author Posted August 11, 2005 Update: If I use the ReportDocument.ExportToDisk method to export the report to a PDF file on disk, then it does function properly. Not when I stream it though. Interesting. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.