Navigate between tab dynamically

Á

Álvaro Moura

Last updated on Jul 6, 2026

In this tutorial we will show how to navigate between tabs dynamically from a tab application.

In this example we will use two applications, added in the tab application.
In the first tab we will have a form and after inserting a record we will be directed to the second tab containing a query application.

1. With the tabs application properly configured, we must access the form and in the onAfterInsert event insert the following code:

Where X is the number of the tab that we want to redirect. In the example, I want the second tab to be displayed after inserting a record.

This way the code would look like this:

For more information on the application tab and other applications, visit our online documentation.

SmallBestOriginalRemove