Mega Search
23.2 Million


Sign Up

Make a donation  
FastReport 5 and "database not assigned" error  
News Group: embarcadero.public.delphi.reporting-charting

Just wanted to check if anyone else has also come across this:

In XE6 when I try to open the form that contains the fast report component, I get the following error:
"Error reading IBXQuery1.Parameters Database not assigned". 

This happens in design-time as well as run-time even in a new VCL application. 
If I remove the SQL Text from the TfrxIBXQuery component, then the error does not occur.

I am not connected to the database at design-time, all the connection properties are set at run-time.  
Any ideas on why this is happening?

I am using Firebird 2.5 on Windows 7 and have installed XE6 Update 1.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 6-Jul-2014, at 11:44 PM EST
From: MNDelphi05 Multinail
 
Re: FastReport 5 and "database not assigned" error  
News Group: embarcadero.public.delphi.reporting-charting
> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}
> 
> The fix for this was posted in the IBX group months ago.  You cacalso jsust use 
> an IBDataset instead as this was an IBQuery/IBStroedProc specific issue introduced.
> 

Hi Jeff, 

Thanks for the quick reply.
If you are referring to updating IBXpress200.bpl, I've tried that and I still get the error. I've also installed update 1 for XE6.

Our application has many existing reports which use the FastReports TfrxIBXQuery component which started giving this error after we upgraded from XE2 to XE6.
We also upgraded from Fast Reports 4 to 5 so I'm not sure where exactly the problem lies.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 7-Jul-2014, at 1:58 AM EST
From: MNDelphi05 Multinail
 
Re: FastReport 5 and "database not assigned" error [Edit]  
News Group: embarcadero.public.delphi.reporting-charting
> >> {quote:title=Jeff Overcash (TeamB) wrote:}{quote}

> Did you reapply the updated bpl I supplied after the update 1 patch.  I believe 
> the update 1 was a full install type patch and the IBX code would have been 
> reverted afterwards as the changes were not in the patch IIRC.

Yes, I re-applied the updated bpl after applying XE6 update 1.
Is there anything else I can try?

Edited by: MNDelphi05 Multinail on Jul 9, 2014 6:52 PM

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 9-Jul-2014, at 9:53 PM EST
From: MNDelphi05 Multinail
 
Re: FastReport 5 and "database not assigned" error  
News Group: embarcadero.public.delphi.reporting-charting
Hi Jeff,

So is this an IBX problem or should I follow up with FastReports?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jul-2014, at 9:12 PM EST
From: MNDelphi05 Multinail