Problem:
I had upgraded my visual studio.net 2008 project to visual studio.net 2010. After that i noticed that some reports are not working properly. Infact selectioncriteria was not working. I tried many things but in vain.
Solution:
Just comment out or delete the following lines of code where the crystalreportviewer is defined in InitializeComponent()
Me.crystalreportviewer .SelectionFormula
Me.crystalreportviewer .ViewTimeSelectionFormula
I had upgraded my visual studio.net 2008 project to visual studio.net 2010. After that i noticed that some reports are not working properly. Infact selectioncriteria was not working. I tried many things but in vain.
Solution:
Just comment out or delete the following lines of code where the crystalreportviewer is defined in InitializeComponent()
Me.crystalreportviewer .SelectionFormula
Me.crystalreportviewer .ViewTimeSelectionFormula