Consultor Eletrônico



Kbase P114461: Errors 247 and 198 when trying to load code generated in OpenEdge 10.1A into an earlier version of P
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/03/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
Windows

SYMPTOM(s):

AppBuilder

Using AppBuilder from an earlier version of Progress to load existing code

Code was generated using AppBuilder 10.1A

Errors 247 and 198 occur when loading

** Unable to understand after -- "<string>". (247)

** <program> Could not understand line <number>. (198)

This file cannot be analyzed by the AppBuilder.
Please check these problems in your file or environment:

** Unable to understand after -- "<string>". (247)
** <program> Could not understand line <number>. (198)

CAUSE:

OpenEdge 10.1A introduces the WIDGET-ID attribute that specifies a widget ID for a field or variable widget to display in a frame. The option to have this attribute added automatically is enabled by default in AppBuilder 10.1A so code generated will contain it. As this attribute is new, earlier versions of Progress will not understand it and will generate errors.

FIX:

Disable the option to add the WIDGET-ID attribute automatically.

1) In AppBuilder, go to Options > Preferences > Widget ID
2) Uncheck the box "Automatically assign Widget IDs"
3) Click on the "Save Settings" button

Note that this will only affect newly generated code. Existing code will have to be edited manually to remove the WIDGET-ID attribute.