on 04-02-2014 4:18 AM
Hi
My name is Bach Ong. I.m currently migrating Crystal reports 10 to Crystal reports 2008 using Java Beans Connectivity. Using ResultSet as dataset. all results are return alright, EXCEPT for string type fields. The data for STRING type fields are some how suppressed. But if i executed the beans within eclipse the the string field is populated with data.
can someone assist me with this issue.
Thanks
Bach Ong
Make sure you are using Service Pack 6 for CR 2008:
SP 6:
https://share.sap.com/a:328ro3/MyAttachments/098c9a21-c9be-41c2-b218-b16c5457331c/
Enable the "Verify on 1st refresh" option.
If you create a new report, do the string fields show up?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Some suggestions I would give for this are:
1. It may be a fault with the data itself. Specifically, if you have a string field that contains invalid or null data (Instead of an empty string), it may be causing an error to be thrown when the report engine tries to process the string fields - and it thus fails on all string fields.
So please try this with some data where all fields contain valid non-null, non-empty data and see if it works.
2. One of the difficulties with javabeans is that they don't give proper error messages. However, there is a way to kick off the javabean java process in the crystal report designer which allows you to debug your javabean inside the report designer. I have attached a sample that shows how to do that - and that should get you the real error message of what is going wrong.
Note: Due to the way these forums work - it will only let me attach a file if it is named with the .txt extension. You will need to extract the txt file and then rename it to .zip (annoying I know).
Shawn
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.