CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 1999
    Location
    india
    Posts
    9

    crystal report ,how to discard a selection formula?

    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.


  2. #2
    Join Date
    Dec 1999
    Location
    Malaysia
    Posts
    56

    Re: crystal report ,how to discard a selection formula?

    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...

  3. #3
    Join Date
    Nov 1999
    Location
    india
    Posts
    9

    Re: crystal report ,how to discard a selection formula?

    Thanks a lot valkyrie it worked.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured