I have a screen with a table control in it (generated with the Screen Painter) that shows records from a database table. The screen also has a button, which shows a popup when it’s clicked. The popup has a form to add a record to the database table.
When the form is submitted the record is added to the database, but when the popup is closed, the screen that shows the database records isn’t refreshed i.e. the new record isn’t shown. Simply calling the screen again doesn’t seem to work.
How to refresh the table control to show the new record?
You have to make sure that the data that you want to display is actually in the internal table that is displayed by the screen.
If the internal table has all the data, but it still does not display in the table control, make sure that the field in the table control that has the number of lines is updated to reflect the extra line.