Dataset "" is not exists
Rutger
The Netherlands
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:
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....
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