Tutorial for Designer/2000
|
begin select studid, studname, ftpt_status, sex, start_sem, start_year, major into :studblock.studid, :studblock.studname, :studblock.ftpt_status, :studblock.sex, :studblock.start_sem, :studblock.start_year, :studblock.major from student where studid = :studblock.studid; exception when no_data_found then message ('Invalid Student Id:Please enter a valid Id.'); raise form_trigger_failure; end; |
In a similar manner, create two other buttons, totaling three push buttons.
|
Commit; Clear_Form; |
| Clear_Form; |
Run Form to view your form with the three push buttons. (See Figure 9.34)
Lesson Summary
In this lesson, you have learned how to add various objects to your form and write triggers on them to add functionality. Specifically this involved:
In the next lesson we will create another push button for deleting records, to which we will add alerts for warning the user before a record is deleted. We will also use a procedure to create the above mentioned functionality. To learn how to do this, proceed to Lesson 10.
Page 1, Page 2, Page 3, Page 4 / Back to the tutorial index.
About the Book
Student Resources
Oracle Resources
Instructor Resources
Contact Us