1

Topic: Update of the drop down list as a part of DW-object

All kind day!
There is a DW-window (dw_p) in it DW-object (d_p) in style Freeform. The object has a field (field) which editing is fulfilled through the drop down list (value StyleType of tab Edit equally DropDownDW). Elements of this list undertake from a certain table of a DB by means of other DW-object d_j (property DataWindow equally d_j).
How to me during execution to change list contents field, i.e.  it from basis? Thus field value remains to the same, and to us is guaranteed that (= from the list) it will not be remote from basis.

2

Re: Update of the drop down list as a part of DW-object

Apprehension;
DataWindowChild ldwc = getChield ("fieldName")
ldwc.setTransObject (sqlca)
ldwc. Retrieve (<params>)
<params> - parameters if are necessary
I can be confused in syntax (without constant daily practice) sad

3

Re: Update of the drop down list as a part of DW-object

Well not absolutely so, I will dare to correct syntax

Datawindowchild ldwc
Dw_p. GetChild ("fieldName", ldwc)
ldwc.setTransObject (sqlca)
ldwc. Retrieve (<params>)

4

Re: Update of the drop down list as a part of DW-object

spas2001;
Thanks.
I will begin morning with  heads ashes.  syntax without practice is forgotten. smile

5

Re: Update of the drop down list as a part of DW-object

Thanks, all turned out!)