How to determine which button is clicked in enter paramter values screen
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How to determine which button is clicked in enter paramter values screen

  1. #1
    Join Date
    Feb 2009
    Posts
    1

    How to determine which button is clicked in enter paramter values screen

    Hi,
    I am using VB 6.0 code and trying to invoke crystal reports 8.5.0.217
    When I invoke crystal report using crystal report object it shows me "Enter Parameters screen" to enter the parameters for reports. This screen has two buttons - OK and Cancel. Clicking Ok should generate report which is working fine but when I click Cancel button, even then blank report is getting generated without any data.

    Please help me regarding this so that I can close the report or remove the crystal report object once the Cancel button is clicked. I want to know how to determine that which button is clicked in "Enter Parameter Screen".

  2. #2
    Join Date
    Jul 2005
    Posts
    1,075

    Re: How to determine which button is clicked in enter paramter values screen

    When I use VB6 (or any other language) normally I ask for the parameters inside the VB6 application and send them to the CR report or the user can decide to cancel the report and don't display anything
    When CR ask for the parameters it is already running and you can't stop (afaik)

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center