You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-astype-istype.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,11 @@ Common Data Service also supports polymorphic lookup fields, which can refer to
35
35
36
36
<!--note from editor: Change "Knowledge Articles" to "Knowledge Base articles" if that is what is being referenced. -->
37
37
38
-
In canvas-app formulas, you can use record references to work with polymorphic lookups. Because a record reference can refer to different entities, you don't know which fields will be available when you write a formula. The *.Field* notation isn't available. Those formulas must adapt to the records that the app encounters when it runs.
38
+
In canvas-app formulas, use record references to work with polymorphic lookups. Because a record reference can refer to different entities, you don't know which fields will be available when you write a formula. The *Record.Field* notation isn't available. Those formulas must adapt to the records that the app encounters when it runs.
39
39
40
40
The **IsType** function tests whether a record reference refers to a specific entity type. The function returns a Boolean TRUE or FALSE.
41
41
42
-
The **AsType** function treats a record reference as a specific entity type, sometimes referred to as *casting*. You can use the result as if it were a record of the entity and, again, use the *.Field* notation to access all of the fields of that record. An error occurs if the reference isn't of the specific type.
42
+
The **AsType** function treats a record reference as a specific entity type, sometimes referred to as *casting*. You can use the result as if it were a record of the entity and again use the *Record.Field* notation to access all of the fields of that record. An error occurs if the reference isn't of the specific type.
43
43
44
44
Use these functions together to first test the entity type of a record and then treat it as a record of that type so that the fields are available:
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-sequence.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,13 @@ The number of records to generate is rounded down to the nearest whole number an
40
40
41
41
| Formula | Description | Result |
42
42
| --- | --- | --- |
43
-
|`Sequence( 4 )`| Generates a 4 record table starting at the default 1 and incrementing by the default 1. ||
44
-
|`Sequence( 4, 24 )`| Generates a 4 record table starting at 24 and incrementing by the default 1. ||
45
-
|`Sequence( 4, 4, -1 )`| Generates a 4 record table starting at 4 and incrementing by -1, effectively counting backward. ||
46
-
|`Sequence( 4, -100, 0.5 )`| Generates a 4 record table starting at -100 and incrementing by 0.5. ||
47
-
|`Sequence( 0.9 )`| Generates an *empty* table as the count rounds down to 0. ||
48
-
|`ForAll( Sequence( 4 ), Rand() )`| Generates a 4 record table of random numbers. |<br>*Actual numbers will vary.*|
49
-
|`Concat( Sequence( 5 ),Text( Value ) & " " )`| Generates a string of numbers from 1 to 5. |**"1 2 3 4 5 "**|
43
+
|**Sequence( 4 )**| Generates a 4 record table starting at the default 1 and incrementing by the default 1. ||
44
+
|**Sequence( 4, 24 )**| Generates a 4 record table starting at 24 and incrementing by the default 1. ||
45
+
|**Sequence( 4, 4, -1 )**| Generates a 4 record table starting at 4 and incrementing by -1, effectively counting backward. ||
46
+
|**Sequence( 4, -100, 0.5 )**| Generates a 4 record table starting at -100 and incrementing by 0.5. ||
47
+
|**Sequence( 0.9 )**| Generates an *empty* table as the count rounds down to 0. ||
48
+
|**ForAll( Sequence( 4 ), Rand() )**| Generates a 4 record table of random numbers. |<br>*Actual numbers will vary.*|
49
+
|**Concat( Sequence( 5 ),<br>Text( Value ) & " " )**| Generates a string of numbers from 1 to 5. |**"1 2 3 4 5 "**|
0 commit comments