Hello there,
I am using SmartClient Version: v10.0p_2015-05-08/PowerEdition Deployment (built 2015-05-08) on FF26
I have two datasource file,like so,
Now I have a listgrid on which I call the productionlinedetailDS file. the listgrid is filling the Combo box prfk field with appropriate data but then i want the next field to get its corresponding data "bize" but nothing happens.
Can somebody please tell me what I am doing wrong.
cheers
Zolf
I am using SmartClient Version: v10.0p_2015-05-08/PowerEdition Deployment (built 2015-05-08) on FF26
I have two datasource file,like so,
Code:
<DataSource ID="productionlineDS" serverType="sql" tableName="proine">
<fields>
<field name="id" type="sequence" hidden="true" primaryKey="true" />
<field name="name" title="Description" type="ntext" required="true"/>
<field name="bize" title="Batch Size" type="integer" required="true"/>
<field name="pu" title="Unit" type="text" length="5" required="true">
<valueMap>
<value>Kg</value>
<value>Liter</value>
<value>Pcs</value>
<value>Other</value>
</valueMap>
</field>
<field name="ways" title="Maximum Work Day" type="integer" required="true"/>
</fields>
</DataSource>
Code:
<DataSource ID="productionlinedetailDS" serverType="sql" tableName="proined">
<fields>
<field name="id" type="sequence" hidden="true" primaryKey="true" />
<field name="prfk" title="Production Line" type="integer" foreignKey="productionlineDS.id" displayField="name" editorType="ComboBoxItem"/>
<field name="bize" title="Batch Size" includeFrom="productionlineDS.bize"/>
<field name="pu" title="Unit" type="text" length="5">
<valueMap>
<value>Kg</value>
<value>Liter</value>
<value>Pcs</value>
<value>Other</value>
</valueMap>
</field>
<field name="up" title="Single Unit Package / Batch" type="integer"/>
<field name="ups" title="Multiple Unit Package / Batch" type="integer"/>
<field name="amc" title="Multiple Unit Package Content" type="integer"/>
<field name="was" title="Production Staff" type="integer"/>
</fields>
</DataSource>
Can somebody please tell me what I am doing wrong.
cheers
Zolf
Comment