Click to See Complete Forum and Search --> : crystal report ,how to discard a selection formula?


ezaz_k
December 9th, 1999, 01:07 AM
When i pass a selection formula from form to report it works as where clause , but if i want to undo the changes made by selection formula i.e. i want the original report without the effect of selection formula how to do it?

Thnaks to all u wonderful people in advance.

valkyrie
December 9th, 1999, 02:13 AM
Hello...
First of all, it is best to put your Selection formula within a If-Then-Else structure, so that your SelectionFormula will be passed to Crystal Reports whenever it satisfies one of the conditions. Otherwise, you can try to pass an empty selection formula, like this,
crystalreport1.selectionformula = ""



Hope that this helps...

____________________________________
The VB Bugs in my Life...

ezaz_k
December 9th, 1999, 09:06 AM
Thanks a lot valkyrie it worked.