Print Page | Close Window

User Input

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20035
Printed Date: 25 Apr 2024 at 9:49am


Topic: User Input
Posted By: JeffGeorge
Subject: User Input
Date Posted: 18 Sep 2013 at 9:27am
I'd like to modify a report I created to accept user input at launch. Can this be done with Crystal Reports XI?



Replies:
Posted By: JeffGeorge
Date Posted: 19 Sep 2013 at 4:09am
I figured out how to create parameters (not much different than MS Access), but how do I get them to execute at run time? I created a desktop shortcut for my report but when I double click it all it does is open the CR editor without prompting for new data.


Posted By: DBlank
Date Posted: 19 Sep 2013 at 5:16am

creating a param is the first step. It is dormant. Once you use it in some capacity withing the report (like in the select expert) it will become active and you will be prompted to enter a value.



Posted By: JeffGeorge
Date Posted: 19 Sep 2013 at 8:14am
That doesn't seem to be happening, though. The only way I can get it to prompt me for input is when I select the refresh button. It then asks me if I want to use the existing data or refresh the data. It doesn't prompt me when I open the report.


Posted By: kostya1122
Date Posted: 19 Sep 2013 at 8:38am
go file tab >> unselect save data with report


Posted By: JeffGeorge
Date Posted: 19 Sep 2013 at 9:29am
I tried that, too. After doing that when I click on the shortcut to the report it just opens it in design mode.


Posted By: JeffGeorge
Date Posted: 25 Sep 2013 at 3:31am
I still can't get this report to execute and prompt for input. Is there something else that needs to be done? For example, when writing software code the IDE doesn't actually create the end-user tool; you still have to compile it. When designing a report in Crystal do you have to do something to "finalize" the report for end-user use?


Posted By: JeffGeorge
Date Posted: 27 Sep 2013 at 2:48am
Is it possible that I'm misunderstanding the use of parameter fields? I design a report, save the .rpt file to my desktop for easy launch, but when I double-click it I never get prompted for input, on any of the reports I'm designing. What am I doing wrong?


Posted By: kostya1122
Date Posted: 27 Sep 2013 at 6:18am
for the report to prompt you you need to press F5 or refresh


Posted By: Sastry
Date Posted: 27 Sep 2013 at 6:31am
hi

Only creating parameter will not ask user input, you need to use these parameter either recod seleciton (filter) or you should place these parameters (drag) to your report.

Then when you refresh it will ask for user input.

-------------
Thanks,
Sastry


Posted By: JeffGeorge
Date Posted: 27 Sep 2013 at 6:49am
OK. I thought that I could have it automatically prompt for input upon opening it. It works fine when I use refresh, but I was hoping to have to avoid doing that each time I opened the report to run it.



Print Page | Close Window