PreviousNextIndex

ChildInputValue property


(Windows only; GUI for .NET only)

Returns a Progress.Data.InputValue instance containing input values for all fields in the current row of the specified child temp-table displayed in the bound .NET control. Use the indexers in this instance to access the input value of a specific field in the row.

Use this property when the BindingSource object is bound to a ProDataSet object that contains child buffers.

Data type: Progress.Data.InputValue class

Access: PUBLIC Readable

Applies to: Progress.Data.BindingSource class

Syntax
ChildInputValue[ buffer-handle | buffer-name ] 

buffer-handle
buffer-name

The following code fragment illustrates how to use this property:

DEFINE VARIABLE orderInpVals AS Progress.Data.InputValue NO-UNDO. 
DEFINE VARIABLE orderNum     AS INTEGER                  NO-UNDO. 
bufName = args:Row:Band:KEY. 
IF bufName EQ "ttOrder" THEN DO: 
  orderInpVals = myBindingSource:ChildInputValue[bufName]. 
  /* InputValue indexer is 0-based */ 
  orderNum = UNBOX( orderInpVals[0] ). 
  IF orderNum > 10000 THEN DO: 
    MESSAGE “You have reached max number of orders.” 
    ... 
  END. 
END. 

See also: InputValue property, Progress.Data.InputValue class


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex