Field Display
The page is used to define which columns are displayed in the data view, the order the fields are displayed, and to set various display options.
The order of the fields can be changed via drag & drop
The Aggregate option provides a way to automatically display count, average and sum totals.
Group By causes the output to be automatically grouped for each unique value in the selected data.
Display Type identifies how the data in a column should be interpreted for presentation.
Localization is used to adjust the formatting of date, datetime, and currency types.
File Name is only accessible when the data type of the column is binary, blob, or varbinary . See Note 1 below.
Users will be able to sort by clicking column heading. Multiple column can be sorted by using the CTRL key
Note 1
A Data View can display a file for download. The file can be stored in the file system or in the DB in a binary field
Database Source Files are identified by reference to specific records in a database. The information provided below refers to files uploaded via a Versago form.
The data is found in a table named “TWBS_VGO_FormAttachments”. This table is found in the database where the data captured in the form is stored.
Two values are required from the record: FileName and FileContent. FileContent is the binary data that will be converted for download. FileName contains the file name of the binary.
The Display Type of FileContent should be set to File
It is not necessary to display the FileName value in the report, but showing the name of the file is typically very helpful.
The files in a database approach does require that the FileContent value is not NULL. As it is very possible that a report row will not have a corresponding report to download, use the following SQ. Setting FileContent to 0 when the database value is NULL allows the report to execute without errors.
isnull(t1.FileName, 'No File') as [FileName], isnull(t1.FileContent,0) as [FileContent]
In both cases, keep in mind that any user that has access to the report can download any file listed in the report. If certain files should be available to certain group(s) of users, different reports may be needed.
Video regarding files and Data Views
Highlights
Highlights are a simple visual cue presented when the data matches the defined conditions. Highlighs can be configured for any numeric value in a Versago Data View.
Derived Fields
It is possible to calculate values at the time a report is executed and present them as a new column. This is done using the [Derived Field]button at the bottom of the page.
Enter the name for the new derived field
Use the available functions to build your formula
Click validate to check your syntax
Save the derived field
Images in Data Views
The following image formats are supported.
PNG (preferred)
JPG
GIF
BMP (not recommended)
Each image must be provided in four (4) sizes.
45 x 45 for thumbnail image
65 x 65 for thumbnail image
250 x 250 for mouse-over (hover) image
1024 x 1024 for on-click (large) image
Images are held in the folder C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages.
Video regarding images and Data Views
Add/Edit Data View
Home