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
Microvellum Release Notes | Build 25.2.0206.641
The following release notes apply to Microvellum build 25.2.0206.641. Item Number Fix An issue was reported regarding item numbers in composite drawings. Users who processed work orders with multiple products reported that the item numbers would ...
Microvellum Release Notes | Build 25.2.0204.641
The following release notes apply to Microvellum build 25.2.0204.641. Toolbox Brand Retirement As part of Microvellum’s ongoing alignment with the values and catalog of INNERGY, and to improve user experience, clarity, and consistency, we have ...
MDF Door Profile Guide
Door Wizard The Door Wizard is a Microvellum feature that enables users to interact with and control the specifics of door related variables, prompts, and available settings. The options available in the door wizard vary depending on the specific ...
Microvellum Foundation Library Release Notes | Build 26.0112
Additions In accordance with Microvellum's new subscription changes, all Face Frame Expansion products and subassemblies, as well as the Range Hood Master product have been added to the full library install and library update zips (now included with ...
Toolbox Release Notes | Build 25.2.0114.641
The following release notes apply to Toolbox build 25.2.0114.641 Processing Center Message Fix Fig. 1: An error message running in the background of the software. An issue was reported within the Processing Center. When processing an order, there ...