Dataset "" is not exists

RutgerRutger The Netherlands
edited 4:19AM in FastReport 3.0
Hi all,

I'm trying to create a report which displays the logindata in our application.
The problem occurs when trying to display data on a band which is collected by a SQL query.

These are the steps I've done
Created a form with a TDatabase, TTable, TfrxDBDataset and a TfrxReport object on it. In this Report i've created a dialog with a TfrxDBQuery (SQL='select * from login') object on it. I've added one of the fields from the logintable (in this case: name) on a databand in the report. When I run the report in the Designmode, everything works fine, however, when I compile the project and run it, I get the following error when pressing OK on the Report dialog:
The following error(s) have occured:
Dataset "" is not exists

When I link the report to the TfrxDBDataset and add the same name object on the databand it works also fine in the live environment. However this is not an option, because I want to make a date selection, therefor I need a handmade SQL statement.

I've downloaded FR3 several weeks ago and couldn't get rid off this problem.... So I've downloaded the latests version (3.03) a few minutes ago. Furthermore, I'm using Borland C++ Builder version 4.5

Thanks in advance for helping me....

Comments

  • edited January 2005
    Have you get the solution? I meet the same question.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.