0

Trigger after update: refresh table view

Hello.

How can I force a table view refresh after updating a record? I have a button that closes the record but I would like to also tell it to refresh the parent table view so I can see the changes without having to manually refresh it.
I understand I can use "trigger after update" in the main table. But what would be the code?

2 replies

null
    • brentjl1
    • 1 mth ago
    • Reported - view

    I had a similar issue. I was using a button inside the records in a table to update several fields at once from the information in an imported file. I’d then use openTable() command to return to the table view eliminating the need to do a manual close of the record. Unfortunately, this wouldn’t refresh the table view and I’d need to do a manual refresh of the table to get everything up to date. I found that if I used TWO openTable() commands in succession in the button actions programming, where the first openTable() pointed to any table and view other than the one you want to actual open, and the second to the desired table and view, the table view would now be presented in an up to date state. There might be a less clumsy way to do this, but I couldn’t find it.

    • brentjl1
    • 1 mth ago
    • Reported - view

    Possible correction to previous reply. I KNOW that using openTable twice and pointing to a different view in the table you want to open, and then the desired view in same table works. I ASSUME that using a separate table from the desired one, and then the desired table and view in the second openTable() command will also work, but haven’t actually tried that!

Content aside

  • 1 mth agoLast active
  • 2Replies
  • 141Views
  • 2 Following