您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

Examples of using [_THISROW-n] in templates

The following example shows how to use [_THISROW-n] to access columns in child and grandparent records. See also Use Start expressions in templates.

Template

The following template example filters the Grandchild records based on a condition that is determined using a value in the Child row. Let’s assume we have a number column[Top] in the Child table that determines how many Grandchild records to select.

<<Start: [Related Children]>> <<[Child]>>

ID Created ParentID/ChildID Child
<<Start: SELECT([Related Grandchildren][ID],[OrderNumber]<=[_THISROW-1].[Top])>><<[ID]>> <<[Created]>> <<[ChildID]>> <<[Grandchild]>><<End>>

<<End>>

Result

Note that the SELECT() expression is using [_THISROW-1] to reference the Top column in the Child table. If you use [_THISROW], it would refer to the Top column in the Parent table, which doesn’t exist.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
3174890939716978382
true
Search Help Center
false
true
true
true
false
false
false
false
false
⌂ 换网址