Kbase P60852: UIB code does not run in Appbuilder after adding database fi
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/5/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 8.3C
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
UIB code does not run in Appbuilder after adding database fields.
When programs created in the UIB of version 8 are modified using the AppBuilder of version 9, they no longer run.
For instance, we added a database filed to a frame. The AppBuilder removes the label, mixes up all the frame definitions, and adds code to the procedure enable_UI. This code checks the value of 'Available' and then does a display and enable of the field. The program no longer runs.
CAUSE:
When adding a database field the developer had left the DISPLAY and ENABLE attributes toggled on.
As a result of this the AVAILABLE status of the record will be queried before starting the UI in the enable_ui procedure. This is an order entry screen, and the record is not available at that time. So the program doesn't start.
FIX:
By turning off the DISPLAY and ENABLE attributes in the AppBuilder, the program will run as expected.