Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

Updating Records

See Also
Quick Tour
Employee Form

To allow users to update existing records in the database, we include an update button in our Employee form. Users navigate to a particular record, click on the Update button, make changes, and then commit.

While in update mode, our application makes the following restrictions:

· users cannot navigate to another record or perform another function

· users cannot change the employee number since this is the primary key

To code the Update function, we write an event procedure for the Update button and modify our Commit procedure to handle both updating and adding records. Refer to the following sections:

Coding the Update Button

Coding the Commit Button (Update and Add)


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents