1 |
<?xml version="1.0"?> |
<?xml version="1.0"?> |
2 |
|
|
3 |
<!-- GNUe Designer (0.4.1a) |
<!-- GNUe Forms 0.5.0 Migration Tool |
4 |
Saved on: 2002-10-26 02:18:29 --> |
Saved on: 2003-07-31 14:48:23 --> |
5 |
|
|
6 |
<form> |
<form> |
7 |
<datasource database="gnue" name="dtsDrp_state_parent" prequery="Y" |
<datasource name="dtsDrp_state_parent" connection="gnue" prequery="Y" |
8 |
table="state"/> |
table="state"/> |
9 |
<datasource database="gnue" name="dtsDrp_zip_child" prequery="Y" |
<datasource name="dtsDrp_zip_child" connection="gnue" prequery="Y" |
10 |
table="zipcode"> |
table="zipcode"> |
11 |
<condition> |
<condition> |
12 |
<eq> |
<eq> |
15 |
</eq> |
</eq> |
16 |
</condition> |
</condition> |
17 |
</datasource> |
</datasource> |
18 |
<page name="Page_1"> |
<parameter name="state" default="nothing"/> |
19 |
|
<logic> |
20 |
<block name="myBlk"> |
<block name="myBlk"> |
21 |
<entry field="parent" fk_description="description" fk_key="state" |
<field name="fldparent" field="parent" fk_description="description" |
22 |
fk_source="dtsDrp_state_parent" name="fldparent" style="dropdown" width="15" x="13" y="1"> |
fk_key="state" fk_source="dtsDrp_state_parent"> |
23 |
<trigger name="update_Child" type="POST-CHANGE"><![CDATA[ |
<trigger name="update_Child" type="POST-CHANGE"><![CDATA[ |
24 |
setParameter('state',myBlk.fldparent.get()) |
setParameter('state',myBlk.fldparent.get()) |
25 |
myBlk.fldchild.resetForeignKey() |
myBlk.fldchild.resetForeignKey() |
26 |
]]></trigger> |
]]></trigger> |
27 |
</entry> |
</field> |
28 |
<entry field="child" fk_description="city" fk_key="zip" |
<field name="fldchild" field="child" fk_description="city" fk_key="zip" |
29 |
fk_source="dtsDrp_zip_child" name="fldchild" style="dropdown" width="15" x="13" y="3"> |
fk_source="dtsDrp_zip_child"> |
30 |
<trigger name="update_result" type="POST-CHANGE"><![CDATA[ |
<trigger name="update_result" type="POST-CHANGE"><![CDATA[ |
31 |
myBlk.result.set(myBlk.fldchild.get()) |
myBlk.result.set(myBlk.fldchild.get()) |
32 |
]]></trigger> |
]]></trigger> |
33 |
</entry> |
</field> |
34 |
<entry default="<undefined> " name="result" readonly="Y" |
<field name="result" default="<undefined> " readonly="Y"/> |
|
style="label" width="10" x="13" y="5"/> |
|
35 |
</block> |
</block> |
36 |
<label name="Lbl_state" text="State:" width="6" x="3" y="1"/> |
</logic> |
37 |
<label name="Lbl_city" text="City:" width="5" x="3" y="3"/> |
<layout xmlns:c="GNUe:Layout:Char" c:height="12" c:width="40"> |
38 |
<label name="Lbl_zip" text="Zipcode:" width="8" x="3" y="5"/> |
<page name="Page_1"> |
39 |
</page> |
<label name="Lbl_state" text="State:" c:width="6" c:x="3" c:y="1"/> |
40 |
<parameter default="nothing" name="state"/> |
<label name="Lbl_city" text="City:" c:width="5" c:x="3" c:y="3"/> |
41 |
|
<label name="Lbl_zip" text="Zipcode:" c:width="8" c:x="3" c:y="5"/> |
42 |
|
<entry block="myBlk" field="fldparent" style="dropdown" c:width="15" |
43 |
|
c:x="13" c:y="1"/> |
44 |
|
<entry block="myBlk" field="fldchild" style="dropdown" c:width="15" |
45 |
|
c:x="13" c:y="3"/> |
46 |
|
<entry block="myBlk" field="result" style="label" c:width="10" c:x="13" |
47 |
|
c:y="5"/> |
48 |
|
</page> |
49 |
|
</layout> |
50 |
</form> |
</form> |