I have received great help from this website, I maybe I can also help someone with the following.
When working with the RDC (Report Desinger Component) of on a and the same report is used several times or in several cases; the first report will work just great, but the next will be blank; what is needed before displaying the report are 3 simple lines of code, assuming you have declared your variables and/or pointing to the proper CrystalReport# to use:
Set CrystalReport# = Nothing
CrystalReport#.ReportSelectionFormula=""
then againg passing the formula you will use with the report:
CrystalReport#.RecordSelectionFormula="YourFormula"
I hope this helps someone having some kind of trouble displaying reports.
Max35
When working with the RDC (Report Desinger Component) of on a and the same report is used several times or in several cases; the first report will work just great, but the next will be blank; what is needed before displaying the report are 3 simple lines of code, assuming you have declared your variables and/or pointing to the proper CrystalReport# to use:
Set CrystalReport# = Nothing
CrystalReport#.ReportSelectionFormula=""
then againg passing the formula you will use with the report:
CrystalReport#.RecordSelectionFormula="YourFormula"
I hope this helps someone having some kind of trouble displaying reports.
Max35