Consultor Eletrônico



Kbase 18337: Causes of Error 201 When Opening Procedures with AppBuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/4/2001
SUMMARY:

The following error may occur while opening a procedure in the
AppBuilder:

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

** Unknown Field or Variable name - <field-name>. (201)
** C:\90awork\vCustomers.w Could not understand line 109. (196)

EXPLANATION:

The following are possible causes of this error:

1) A window is being opened in the AppBuilder and a database
field on that window has been removed from the database or
the field name has changed in the database. Note that this
behavior also occurs with the Version 7 and Version 8
User Interface Builder (UIB).

2) A SmartDataViewer is being opened in the AppBuilder and a
field on that SmartDataViewer has been removed from its Data
Source or its name has changed in its Data Source. A
SmartDataViewer's Data Source is the SmartDataObject it was
built from.

This is not an issue for SmartDataBrowsers that have a
SmartDataObject as its Data Source. If you remove a field
or re-name a field in a SmartDataObject and then open a
SmartDataBrowser that contains the field you will be given
an option with the Advisor to remove the field from the
SmartDataBrowser.

SOLUTION:

To resolve this error when a field has been removed from the
database you need to do the following:

1) Add the field back to the database so that the window can
be opened in the AppBuilder.

2) Remove the database field from the window and then from the
database.

To resolve this error when you have re-named a field in the
database you need to do the following:

1) Re-name the field in the database back to its original
name so that the window can be opened in the AppBuilder.

2) Remove the database field from the window.

3) Re-name the field in the database to its new value and add
it back to the window with the AppBuilder.

To resolve this error when you have removed a field from a
SmartDataObject you need to do the following:

1) Add the field back to the SmartDataObject so that the
SmartDataViewer can be opened in the AppBuilder.

2) Remove the field from the SmartDataViewer and then from
the SmartDataObject.

To resolve this error when you have re-named a field in a
SmartDataObject you need to do the following:

1) Re-name the field in the SmartDataObject back to its
original value.

2) Remove the field from the SmartDataViewer.

3) Re-name the field in the SmartDataObject to its new value
and add it back to the SmartDataViewer.

An alternative resolution would be to modify the procedure
outside of the AppBuilder. NOTE: Be sure to make a copy of the procedure before doing this. Technical Support will not support AppBuilder-generated code that has been modified outside of the AppBuilder.