Avoid or disable CrystalReport login prompt popup in java
use belew code in viewer file:-
use belew code in viewer file:-
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer(); ConnectionInfos connInfos = new ConnectionInfos(); IConnectionInfo connInfo1 = new ConnectionInfo(); connInfo1.setUserName("YourUserName"); connInfo1.setPassword("Yourpassword"); connInfos.add(connInfo1); crystalReportPageViewer.setEnableParameterPrompt(false); crystalReportPageViewer.setDatabaseLogonInfos(connInfos);
Cystal Report new line with java .
By using Can Grow option in conditional formulas, we can achieve the new line in crystal
report
if it returns true, can Grow option will enabled for the required field.