Hi I have a question for the version of oracle 8i. If I create a new report in IReport and oracle 8i, such as with the sql is "select (case when $P{InputDate}=to_date('01/01/1970', 'mm/dd/yyyy') then X.birthday else $P{InputDate} end) as trueBirthday from (select birthday from A) X". It will display "ORA-00932: inconsistent datatypes" and "at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)... " The enviroment is iReport 2.0.2, oracle client 10.2.0. In oracle, the column is Date type and in iReport the field is java.util.Date. If the oracle is 9i or 10g, it works fine. Does anybody know why it cannot work on oracle 8i and how to resolve it? Many thanks.