My users want that the parameters should retain the values selected the last time teh report was executed. I have not checked the box for 'clearing' them , still they get refreshed. Any ideas?
Hi,
If the users may select different values each time it is run, how can the report know who ran it with what values the last time?
If the users do not want to change the parameter values, then don't use parameters - place the values in the selection formula.
Alternatively, have the report run once with the values desired and then have the users access the last instance instead of 'viewing on demand'.
Sorry, I mean at the same time it is executed multiple times. It is an application where users select multiple properties for which they want to run the report. Now they want they they can run the report at the same time again and it retain those old values. We did in Crystal 8.5 and CE 8 and it worked well. Now we are trying to get into Crystal10 and CE10!
It will retain the parameters if the check box is not set (are you sure you are pressing the Submit button?). The values are displayed in "Current Values" box.
Do you have a different report object for each set of parameters?
Ok. Let me be specific. We are calling the report from an HTML page using the url and over a network using Crystal Enterprise. We used the Activex viewer and it retains the old dates entered. So once the report is run, the user enters start date, end date and a property id. They go back and want to change just the property id and run the report again immediately.
Makes sense to me that it doesn't remember the parms if they're running from the HTML page again.
If instead they hit the refresh within the Active-X viewer than it might not remember them the first time (haven't tested this) either if you didn't use the Active-X viewer to initially collect parms, rather you passed them in the URL.
If they use the refresh in the Active-X twice, I'd think that the second time would reflect the last choices.
You are on the mark! The first time it is loaded via the html. Then they rerun by a refresh in the Activex viewer. So now this boils down to another post - how do I know which viewer is being used. I am trying installation with Crystal Reports 10 (we are using Crystal 8 which has the Activex viewer). I get a green and gray screen which accepts all parameters on the same page (v/s the old one which accepts each parameter one by one on diff. screens) and initializes them eevry time. I changed teh default viewer in CMC to Activex but it seems to change on client end I have to change in EPortfolio and I am having problems logging into that. Can you guide how to code and do it as of now for testing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.