Oliver_Kersten Posted May 31, 2007 Share Posted May 31, 2007 Hi,i am using JasperReport 1.3.3 with iReport 1.3.3. and MaxDB (SapDB) as database. Everything works fine with MaxDB but with MS SQLServer 2005 I get the following Exception: net.sf.jasperreports.engine.JRException: Unknown column name : EXPRESSION1 This is my Query (ppr_min is an integer, search_date a Date):select sum(ppr_min) from caregrade where search_date >= $P{begin} and search_date<= $P{end} There is one Field for the Query: EXPRESSION1 java.lang.String There is something strange in the "Report query" Window of iReport. "Read Fields" with MaxDB works fine. With MS SQL, iReport find the field but can't find the fieldname. Can anyone help me with my problem? ciaoOliver. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now