Expressions can contain values from data sources. A string
representation of the field is used to reference that field from the data
source. The proper syntax for the reference is the name of the data source and
the field name with a full-stop character or decimal point separating them,
surrounded by curly braces:
{DataSource.Column}
It is possible to drag and drop from the data
dictionary to the page of a report or the expression editor, and the
information will be inserted with the correct syntax automatically.
Parent Relationships
In cases where the data source has a parent relationship with another data source, you can reference other fields from the parent data source. The proper syntax, in this scenario, is the name of the data source,
followed by the relation name, and then the field name. Each name should be separated by a full-stop character or a decimal point, and the entire thing should be surrounded by curly braces, as before.
{DataSource.Relation.Field}
If you have a set of information like the following:
- Cabinets -
the name of a data source.
- ParentCategories - the name of the relation.
- Cabinets is
a list of cabinets, and Categories is
a list of categories of these products.
- CategoryName is a column name in the Categories data
source.
{Cabinets.ParentCategories.CategoryName}
The above expression will yield the name of a category for a
cabinet in the report.
A column can be called through multiple relationships. For
example:
- OrdersDetail - the name of a data source.
- ParentCabinets - the name of the relation between OrdersDetail and Cabinets.
- ParentCategory is the name of the relation between Cabinets and Categories.
- CatName is a field in the Categories data source.
{OrdersDetail.ParentCabinets.ParentCategory.CatName}
The above expression will yield the name of a category for a
cabinet in the report. This is has been done without a direct call to the Categories data source.
If VB.NET is
used as the reporting language, the names will not be case sensitive. However,
if the reporting language is C#, the names are case sensitive.
All data items are converted to the type that is specified in the options column. This dynamic conversion helps to accelerate the development of reports. To acquire data from a column without conversion,
specify the data source directly.
In C#:
{Cabinets[“CabinetName”]}
The above expression will return data from the Cabinets data source without conversion.
In VB.NET:
{Cabinets.Item(“CabinetName”)}
Recent Articles
Toolbox Release Notes | Build 25.1.0213.641
The following release notes apply to Toolbox build 25.1.0213.641. Stay Down Nesting Additions 3 new settings have been added to Stay Down Nesting, to resolve specific issues with routes and connectors that have been reported: Fig. 1: New options in ...
Toolbox Release Notes: Year of 2024
This document will catalog all releases for Microvellum Toolbox software builds that were released in the year 2024. This encompasses builds 24.1.0104.641 to 24.1.1206.641. Toolbox Release Notes | Build 24.1.1206.641 The following release notes apply ...
Toolbox Release Notes | Build 25.1.0129.641
The following release notes apply to Toolbox build 25.1.0129.641. SMA Fixes A wide variety of issues with the Solid Model Analyzer have been resolved. Multiple modifications to existing interfaces or settings have been made to improve precision and ...
Microvellum Foundation Library Release Notes | Build 25.0124
The following release notes apply to Microvellum Foundation Library build 25.0124. Additions Added Century Components Waste Bins, Vanity Organizers, and Base Cabinet Organizers. 11”, 14”, 17” Signature Series Bottom Mount 34qt & 50qt. 4”, 5”, 6”, 9”, ...
SQL Server Backups
This article will list out the various types of backups you can create for databases hosted on an SQL Server, explore methods for creating backups manually and automatically, as well as list software/services that may assist you with backing up your ...