Consultor Eletrônico



Kbase P141783: ultra Controls that display one field can only bind to field from top table in proDataSet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/25/2009
Status: Unverified

SYMPTOM(s):

ultra Controls that display one field can only bind to field from top table in proDataSet

ultraTextEditor can only bind to field from top table in proDataSet

ultraCalendarCombo can only bind to field from top table in proDataSet

ultraButton can only bind to field from top table in proDataSet

ultraCheckEditor can only bind to field from top table in proDataSet

FACT(s) (Environment):

Windows
OpenEdge 10.2A

CAUSE:

Ultra controls that display data for a single field can only be bound to a field in the top table of a proBindingSource through the properties grid using Data Bindings. This is because the controls are designed to be bound to a single level data source.

FIX:

Bind the control manually using the Add method of the DataBindings property object.
e.g.
THIS-OBJECT:ultraTextEditor1:DataBindings:Add(NEW System.Windows.Forms.Binding("Text",
THIS-OBJECT:bindingSource1,
"ttOrder.OrderDate",
TRUE)).