MakeList
This function builds a scrolling list of items that may then be presented to the user for selection using App.ShowList.
Group: Application-Based Extension
Syntax: App.MakeList(sListData, vValue, vDisplay, [vHeading])
sListData (String) is the variable containing the list being created.
vValue (Variant) is the value that is returned when the user selects a specific list item.
vDisplay (Variant) is what the user will see for a specific list item. (Non-numeric values must be in quotes.)
vHeading (Variant) Optional – is the heading for the list. (Note: it only needs to be assigned once).
Example:
Dim sRsp As String
Dim sList As String
App.MakeList sList, 2000, "2000 ABC Company", "Select order"
App.MakeList sList, 2001, "2001 Widgets R Us"
App.MakeList sList, 2002, "2002 GoodFellows Inc."
sRsp = App.ShowList(sList)
Version Supported: RFgen 4.0, 4.1, 5.0, 5.1, 5.2 and newer.