 |
|
Oracle Tips by Burleson |
Adding
the Go Button to the Report
The next step is to create a Go button to serve as
the submit button for the user when they enter new search criteria.
This will also happen when the user presses the Enter key while in the
Search field (P11_REPORT_SEARCH) created above.
Buttons are covered in great detail in the chapter
on Creating Other Page Components, so extensive detail will not be
provided here.
1.
On the Page Definition page, click on the icon
in the Buttons section.
2.
On the Button Region page, click Next.
3.
On the Button Position page, choose the Create a button
displayed among this region’s items option and click Next.
4.
On the Button Attributes page:
-
Button Name: P11_GO
-
Sequence: 20
-
Beginning on New Line: NO, which is indicated by the lack of
checkmark
-
Beginning on New Field: YES
-
Label: Go
-
Request: Go
-
Button Style: Template Based Button
-
Template: Button
-
Click the Create Button button
At this point, the program returns to the Page
Definition page. Click on the Run button to run the page.
 |
For more details and scripts, see my new book "
Oracle
Tuning: The Definitive Reference", over 900 pages
of BC's favorite tuning tips & scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot. |
|