Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: FastReport 5 and "database not assigned" error



Permlink Replies: 5 - Last Post: Jul 16, 2014 9:12 PM Last Post By: MNDelphi05 Mult...
MNDelphi05 Mult...

Posts: 4
Registered: 3/14/12
FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 6, 2014 8:44 PM
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.
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 6, 2014 9:26 PM   in response to: MNDelphi05 Mult... in response to: MNDelphi05 Mult...
MNDelphi05 Multinail wrote:
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.

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.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
MNDelphi05 Mult...

Posts: 4
Registered: 3/14/12
Re: FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 6, 2014 10:58 PM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
Jeff Overcash (TeamB) wrote:

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.
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 8, 2014 7:15 AM   in response to: MNDelphi05 Mult... in response to: MNDelphi05 Mult...
MNDelphi05 Multinail wrote:
Jeff Overcash (TeamB) wrote:

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.

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.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
MNDelphi05 Mult...

Posts: 4
Registered: 3/14/12
Re: FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 8, 2014 3:27 PM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
Jeff Overcash (TeamB) wrote:

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
MNDelphi05 Mult...

Posts: 4
Registered: 3/14/12
Re: FastReport 5 and "database not assigned" error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 16, 2014 9:12 PM   in response to: MNDelphi05 Mult... in response to: MNDelphi05 Mult...
Hi Jeff,

So is this an IBX problem or should I follow up with FastReports?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02