on ‎2013 Apr 30 6:17 PM
I have a Crystal report formats with some input parameters set to default values. How do I retrieve them in the Crystal Java API?
Thanks,
Chandra Prakash
Request clarification before answering.
I normally do not look at this forum as about all I know about Java is that it comes out of the coffee machine in the kitchen...
But see if the following KBA will help, even though it is written specifically for .NET:
1202315 - How do I get a parameters default value's description via the NET SDK?
- Ludek
SCN Moderator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ludek,
Thanks for your help. I found the Java methods here:
ParameterField.getInitialValues() and getDefaultValues()
Thanks,
Chandra Prakash
Chandra Prakash,
I used getDefaultValues() method to retrieve the values. But its not in a string readable format.
Example default values :
How do i convert them to String Readable format?
[com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue@7a36a2, com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue@198c6f3]
Thanks,
Bharath
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.