1.引入crystal report sdk的jar文件到工程中。导入c:/program files/common files/crystal decisions/2.0/jars目录下的jar文件。(注意ob405.jar xerces.jar除外。)
2.官方网站
developer zone:
http://www.businessobjects.com/products/dev_zone/
java developer zone:
http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main
http://www.businessobjects.com/products/dev_zone/ibm/default.asp?ref=devzone_javazone_main
crystal report for ibm websphere studio demo
http://ftp1.businessobjects.com/outgoing/devzone/ibmwebspheredemo.html
crystal reports for ibm websphere studio application developer 5.1.1 plugin (wsad 5.1.1)
http://www.businessobjects.com/products/reporting/crystalreports/eval10/datasave_keycodes.asp?activity_type_id=569
crystal reports 9 xtreme web sample(必须用tomcat4.0,到jbuilderx目录中去找吧。)
adv_ras9_jsp_samples.exe (学习ras9,必备例程)
注意set table locale 和 adv_ras9_simplediscreteparameters这两个例子,最重要。
4.当interactive viewer(报表以html方式显示),crystal report的默认工具栏上,字符是'???',
文字不能正常显示。
解决办法: control panel >> regional and language>> standard and formats>>
>> 设为english(union state)
5.如果以odbc方式连接oracle, 如果新的数据库的数据库名和报表中的不同,需要手工改rpt文件的
datasource location,注意用set table location的代码动态改变数据源,不能正常执行成功.
建议用户把开发,测试,产品三个数据库名设为同一个。
闽公网安备 35060202000074号