KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Refreshing the current selection in a List Box
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: October 23, 2017

When using a selection based List Box, it is important to know that the field data displaying in the List Box will be updated only when the selection is reloaded or changed. A simple way to reload the current selection is build a temporary named selection and load it. Here is an example code:

CUT NAMED SELECTION([TableName];"tmpSel")
USE NAMED SELECTION("tmpSel")


Please note that the code example shown above can be executed anywhere within the context of the form.