If you want to input values manually in the filter dialogs, pay attention to the following rules:
String Value
Rules: Quote the values with single quotes.
Example1: Customers_Country='USA'.
Example2: Customers_Country in 'Australia','Germany','Mexico'
Date Value
Rules:
- Default input format supported in JReport Designer is the same as the format of the values available in the Values dialog.
- Default input format supported in JReport Studio is 'MM/dd/yyyy' for Date, 'hh:mm:ss a' for Time and 'MM/dd/yyyy hh:mm:ss a' for Timestamp.
- Both the above formats are only the input value format in the filter dialogs, and filters are done in the RDBMS side and some RDBMS have special requirements for the date format, so you need to make sure the date formats specified in the Data Format tab of the Get JDBC Connection Information dialog are supported by your database.