Consultor Eletrônico



Kbase P165361: Unable to open an ABL Form in Visual Designer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/05/2010
Status: Unverified

SYMPTOM(s):

An unexpected error was encountered loading this class. Check the log file for details

Unable to open an ABL Form in Visual Designer.

The class file compiles and runs fine.

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

Manual changes were made in the InitializeComponent method where a DATE property is assigned to TODAY

FIX:


The code generated by the Visual Designer will assign the date property to Progress.Util.DateTimeHelper.
Example: THIS-OBJECT:cardPanel1:ExpDate = Progress.Util.DateTimeHelper:Create(2010, 5, 5, 0, 0, 0, 0).
This will cause the Visual Designer to fail loading the form: THIS-OBJECT:cardPanel1:ExpDate = TODAY.