I have a screen with a table 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. The new record isn't shown. Any ideas how I could make the table refresh? Simply calling the screen again doesn't seem to work..
Answer:
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. The new record isn't shown. Any ideas how I could make the table refresh? Simply calling the screen again doesn't seem to work..
Answer:
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.
- You can reread the database table or
- append the line generated by the pop-up form to the internal table (If the line types aren't identical you will have to move the fields to a similar structure first).
No comments:
Post a Comment