on 05-20-2015 8:58 PM
We are migrating from an old Visual Basic 6.0 Crystal SDK to the Java SDK. In the VB API, a parameter field obtained from crxReport.ParameterFields has a variable "needsCurrentValue". A false value told you the parameter was not used on the report. I don't see an equivalent of this in the Java SDK. I have an issue where all parameters are returned via:
Fields<IParameterField> myFields = dataDefController.getDataDefinition().getParameterFields() even if some of the fields are not used in the report. The legacy system passes only parameters that are used and using "needsCurrentValue", we would skip over those params that were "false". I cannot find a way to detect that a parameter is not being used in the Java SDK. Does anyone know how?
In the IReportParameter class, there is a method isInUse() that you can use to determine this.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using "SAP Crystal Reports for Java runtime components - Java Reporting Component (JRC)" that is available using url http://scn.sap.com/docs/DOC-29757. The downloaded zip file associated with this is crjava-runtime_12.2.218.zip. These jar files associated with these components are downloaded to a workstation and used with a Java Swing Web Start application. Is the SDK you mention for server side only?
Because of the space you posted in, I assumed you were working with the full BusinessObjects SDK, not Crystal for Eclipse SDK. Please repost your question in the Crystal for Eclipse space here: http://scn.sap.com/community/crystal-reports-for-eclipse. Someone there should be able to direct you to what you need.
-Dell
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.