Table Name
Hi Alex,
when register a Dataset with:
using (FastReport.Report report = new FastReport.Report())
{
report.Load("C:\\TEST\\unbenannt.frx");
report.RegisterData(DS1, "Adress");
report.Design();
}
unbenannt.frx is a new empty Report:
When open "Choose Report Data" the Tablename and Alias is Table. (For the second Table Table1, Table2...
I mean that the Alias must bee with this Code "Adress"
Is this right?
Regards, Frank
when register a Dataset with:
using (FastReport.Report report = new FastReport.Report())
{
report.Load("C:\\TEST\\unbenannt.frx");
report.RegisterData(DS1, "Adress");
report.Design();
}
unbenannt.frx is a new empty Report:
When open "Choose Report Data" the Tablename and Alias is Table. (For the second Table Table1, Table2...
I mean that the Alias must bee with this Code "Adress"
Is this right?
Regards, Frank
Comments
In this case, the table alias is the table name. If you need to register one table only, you may use the following code:
report.RegisterData(DS1.Tables["yor_table"], "Adress");
i understand.
Thanks for the Help