In the sample program ParamTest.java, different values were assigned to the parameter p_StartDate by accessing values from an HSQL database. In addition, the sample report set CustomerAnalysis.cls uses this parameter in the query condition. So here, we use this demo report set as an example to explain how to import parameter values from a database, so that you do not need to type in the values one by one while specifying the parameter default value (note that in this example we assume your JReport Designer is installed in the default path, that is C:\JReport\Designer).
C:\JReport\Designer\help.javac -classpath c:\jreport\designer\lib\JREngine.jar; ParamTest.javaC:\JReport\Desginer\help to the classpath variable of JReport.bat in C:\JReport\designer\bin.
on the Inspector toolbar), and input the class name with the full package name. In this example, input help.ParamTest, and then set the property Parameter List Auto to false.C:\JReport\Designer to the classpath variable of JREntServer.bat in <server_install_root>\bin.Note: In the sample ParamTest.java, we used the method compareToIgnoreCase( ) to compare the parameter name in the class file with the one in your report. This method is not case sensitive when performing the comparison.