Table Name

edited 11:55PM in FastReport .NET
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

Comments

  • edited 11:55PM
    Hello,

    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");
  • edited 11:55PM
    OK,

    i understand.
    Thanks for the Help

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.