Results 1 to 7 of 7

Thread: A crystal report viewer problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Posts
    275

    A crystal report viewer problem

    I am using Crystal report Viewer to load a report

    The reports are loaded on the button on the form.
    I need whenever I press the button the button is disabled until the reports are loaded.

    How can I do it

    Thanks in Advance

    Rgrds
    A. Haider

  2. #2

    Re: A crystal report viewer problem

    Button1.enabled = false

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Posts
    275

    Re: A crystal report viewer problem

    Quote Originally Posted by formlesstree4 View Post
    Button1.enabled = false
    HAHAHA

    Did u clearly read my post I said until the report is loaded
    I have to enable the button when the report is visible on crystal report viewer
    So there must be some event or method?

    Plz help

  4. #4

    Re: A crystal report viewer problem

    Use a BackgroundWorker to load the Crystal Report. When its finished, in the BGWorker's Work completed event, enable the button.

    I directly answered your question, just not in a helpful way. Is this better?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Posts
    275

    Re: A crystal report viewer problem

    And that exaclty I want to do. But How?
    I cannot do it

    I have used several crystal report viewer methods but the thing that I wish is not working

  6. #6

    Re: A crystal report viewer problem

    Look up information on using BackgroundWorkers. They're difficult at first, but trust me, they're not that bad.

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: A crystal report viewer problem

    Moved To Reporting

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