Howto force update action in form application

Hi,

I’ve made form linked with a field link to a grid. The form appears modal and automatically returns after update.

In the form I only want to set a value in the current record and return to the grid.

The grid must display the new value. That’s why I use a form to do so. I don’t want the user clicking an update button.

sc_exit() returns nicely to the parent application but doesn’t refresh the parent application.

Is there something like sc_do_update() ? (Not that I found). Or how do I force the update action?

Regards,
Martin

Re: Howto force update action in form application

Since the grid does not support ajax, your will have to re-draw the grid, as it is just a snapshot. Using a modal form looks nice, but it does not force the calling grid to redraw. If you display the form in the same window, then it will redraw the grid as it is the same page. You can use Application/Navigate/Exit application (and Exit = yes) for it to return.

If the grid row had an ID (only the header does), you could use JS, but SC does not provide an ID for use to attach to.
I have asked support, please ask as well. (data rows need an ID)

If you find another way, please let me know.

Regards,
Scott.