Jump to content

Error in subreport while trying to access temp table created by SP in the main report


mickyrox

Recommended Posts

Hi guys,

I created a report which uses cross tabs in the subreports.
One main report having 2 subreports.
The Stored Procedure in the Main report creates a temporary table in the database.
This temporary table has to be accessed by the SPs in the subreports.

But when i try to run the report i'm getting an error as below:

Caused by: net.sf.jasperreports.engine.JRException: Unable to get next record.

Caused by: java.sql.SQLException: Could not open database table (informix.employees_header_data_temp).

Caused by: java.sql.SQLException: ISAM error: non-exclusive access.


Can anyone please let me know whats going on? This is reall blocking all development.

Thanks,
micky.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Assume from the ISAM message you are running against an Informix database.   The message displayed indicates a DB level issue with accessing tables due to not having exclusive access to the temp table.   Not familiar with Informix at all and this isn't really an issue with iReport or Jasper Reports. 

Google the error message and you should be able to find other Informix users with similar issues.

Thanks

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...