Tech Tip: Refreshing Entity or Current Selection in a List Box
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: August 24, 2022
A list box can be based on an entity selection or a current selection. For an entity selection based list box, the data selection can be refresh using the refresh() function. For a current selection based list box, there is no single command to perform the same task. However, the following 2 lines of code execution can be performed to archive the same effect:
// Refresh a Current Selection CUT NAMED SELECTION([TableName]; "sel") USE NAMED SELECTION("sel") |