In this section: |
How to: |
One way to use an Update Assist procedure is to call it from an App Studio report. You can set up the App Studio report so that a user can click on a row in the report and open the Update Assist procedure with the data from the row of the report.
The Drill Down dialog box opens.
where:
Is the number of the task that launches the Maintain procedure.
where:
Is the name of the segment that contains the key field.
Is the name of the segment with stk added to the end.
Is the name of the key field selected for drill down.
When you run your report, you will see that all of the items in the selected column of the report are underlined and clickable. Clicking any item on the report opens the Update Assist form with the information for that item already filled in.
This example describes how to create a report in the HTML canvas and then create a link to a simple Update Assist application that will update information in the report.
This example is broken down into two steps:
When you are done, you will have an App Studio report that displays a list of customers in the employee data source. Clicking on the PIN adjacent to the last name of someone in this report will bring up a form where you can change information about the employee, or delete the employee from the data source. The result is shown in the following image.
The following is an example of creating an Update Assist application for the empdata data source.
The Update Assist - Navigation Options window opens.
App Studio Maintain Data displays the first screen of the application you created, as shown in the following image.
The Tasks & Animations screen is shown in the following image.
The Drill Down dialog box opens.
When you run your report, you will see all of the PIN values in the report are underlined and clickable, as shown in the following image.
Clicking a PIN on the report opens the Update Assist form with the information for that name already filled in.