Naming datasets

<< Click to Display Table of Contents >>

Navigation:  FastReports > Report datasets >

Naming datasets

By default, report datasets are named after their source query file. However, Dispatch does provide a mechanism to provide an alternative name.

Providing user-friendly names

The UserName section of the FastReport.ini file can be used to provide user-friendly name for report queries.

 

For example, here's a directory listing in Windows Explorer of all the FastReport queries included with Dispatch:

 

clip0475

 

The FastReport.ini included with Dispatch contains a UserName section that provides a user-friendly name (the name to the right of the = sign) for each of those queries:

 

clip0476

 

Dispatch uses the content provided in the UserName section of the INI file to map a user-friendly name to each query.

 

In the FastReport designer, the datasets will appear like this:

 

clip0477