GetValue
You use the GetValue keyword to obtain the value from a specified object and store the value in a variable.
Signature
The GetValue keyword supports the following signature:
GetValue(AppletRN|FieldRN/ClassName/ThreadbarID|[RowNum/Tileindex],@Variable)
Desktop Examples
The following table describes how to use the GetValue keyword to obtain the value from the specified object and store the value in a variable in desktop applications.
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
AppletRN|ClassName|[RowNumber] |
@Var |
N/A |
Gets a value based on Class Name. |
SIS Account List Applet|Account Status|2 |
@Var |
N/A |
Gets a value from the Account Status field in the second row and stores the value in a variable. |
Opportunity Form Applet - Child|SalesRep2 |
@Var |
N/A |
Gets a value from the SalesRep2 field in the form applet and stores the value in a variable. |
Opportunity Form Applet - Child|Description2 |
@Var |
N/A |
Gets the value from the Description2 field in the form applet and stores the value in a variable. |
NULL|Save Query As Applet._SweQueryName |
@Var |
N/A |
Gets a value from the pop-up input field. |
SIS Account List Applet|Name |
@Var[3] |
N/A |
Gets a value of first three records in the Accounts list applet. |
Mobile Examples
The following table describes how to use the GetValue keyword to obtain the value from a specified object and store the value in a variable in mobile applications (on mobile devices).
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
SHCE Sales Account List Applet - Mobile|Name|4 |
@accountname |
N/A |
Gets a value from the Name field in the fourth row and stores the value in the account name variable. |
SHCE Sales Account List Applet - Mobile|Name |
@accountname |
N/A |
Gets a value from the Name field in the first row and stores the value in the account name variable. |