Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

writing report from scratch using JRC API

$
0
0

Hi, I'm writing report from scratch using the JRC API. I have two problems that I can't seem to get over. Could you help?

 

1. there is always an extra row/rows if the data set on the table exceeds portrait width limit. Even though I'd changed the page orientation to landscape and the complete data is coming out on one row, there is always extra white spaces after each row as if I did not adjust the orientation or field width. How could I get rid of that?

 

2. I'm using ResultSet as data source. However, the Timestamp field is not coming out right when using the toText(fieldName, 'mm-dd-yyyy hh:mm:ss') to format. If I were to select and see the value in database, the field value is complete with date and time. So for this date '02-10-2014 12:34:59", it displays properly in the database SQL view. But when it run through the formular field, I get '02-10-2014 hh:mm:ss' as the output. If I change the formula to toText(CDateTime(fieldName), 'mm-dd-yyyy hh:mm:ss'), it comes out as '02-10-2014 12:00:00". How can I fix that? Thanks!


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>