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:
Access: PUBLIC Read-only
Applies to:
ChildInputValue[ buffer-handle buffer-name ]A HANDLE variable that represents the handle to the child temp-table buffer whose input values you want to access.A CHARACTER expression that evaluates to the name of the child temp-table buffer whose input values you want to access.
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.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |