Example: Keeping a Page On-Screen After Clicking Save

Solution Approach

You can keep the same page on-screen after clicking the “Save” button by specifying the URL in the Save button’s Property Sheet.

Procedure

Step 1:  In Design Mode, select the OK or Save button control.

Step 2:  In the Property Sheet, set URL to Back to take the application user back to the previous page.

Group

Property

Setting

 

Control name

Save

[Application Generation]

Button actions

Save data on page

This indicates to the application that data must be added or updated in the database.  Do not change the command name from Save data on page, otherwise the updated data will not be saved in the database.

[Application Generation]

Button actions

URL / Back

Optionally, you can specify the URL of the current page to refresh the browser with the same page.

Appearance

Text

Save

Behavior

CausesValidation

True

Step 3:  Build and run the application.

See Also

Example: Configuring a Go Filter Button

Example: Keeping a Page On-Screen After Clicking Save

Example: Add a Logout Button to a Page

Button Actions and Properties

Button Actions

Button Actions - Redirect and Send Email Actions

Button Actions - Substitution Variables

Button Tag Properties