Progress
Programming
Handbook


Multiple Windows and Transactions

When an application uses multiple windows, the user may tend to assume that actions in one window are totally independent of actions in another window. However, regardless of how many windows are on the screen, only one transaction is active at any time. This means that you cannot undo or commit work in one window without undoing or committing the work pending in all other windows. You must design your application so that transaction scoping is clear and intuitive to the user.

In multi-window applications, it simplifies transaction management if you can ensure that a transaction started in one window is committed before the user gives focus to another window. Thus, multi-window applications work more naturally with atomic transactions (those opened and committed by a single user action or dialog box). However, your application must ultimately determine your transaction management requirements.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095