Kbase P19660: How to programmatically find out whether or not the user is
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/19/2003 |
|
Status: Unverified
GOAL:
How to programmatically find out whether or not the user is adding a record into the database from the code of a button placed on a SmartWindow's frame?
FACT(s) (Environment):
Progress 9.1D
FIX:
This can be accomplished by running one of the following three different ADM2 functions:
- getNewMode in the SmartDataObject's handle.
- getNewRow in the SmartDataObject's handle as well.
- getNewRecord in the SmartDataViewer's handle.