1 |
<?xml version="1.0"?> |
<?xml version="1.0"?> |
2 |
|
|
3 |
<!-- GNUe Designer (0.1.0) |
<!-- GNUe Forms 0.5.0 Migration Tool |
4 |
Form saved on: 2001-11-04 22:12:53 --> |
Saved on: 2002-11-26 20:28:21 --> |
5 |
|
|
6 |
<form width="42" title="ZIP Code Maintenance" height="17"> |
<form title="ZIP Code Maintenance"> |
7 |
<options> |
<options> |
8 |
<option value="0.0.1" name="version"/> |
<option name="version" value="0.0.1"/> |
9 |
</options> |
</options> |
10 |
<datasource prequery="" cache="5" database="gnue" name="zips" |
<datasource name="zips" cache="5" connection="gnue" order_by="state,city" |
11 |
order_by="state,city" table="zipcode"/> |
prequery="" table="zipcode"/> |
12 |
<datasource prequery="" database="gnue" name="validator" |
<datasource name="validator" connection="gnue" order_by="description" |
13 |
order_by="description" table="state"/> |
prequery="" table="state"/> |
14 |
|
<logic> |
15 |
<page name="Page_1"> |
<block name="zip" datasource="zips" rows="9"> |
16 |
<block name="zip" rows="15" datasource="zips"> |
<field name="city" case="upper" field="city" required=""> |
|
<label x="1" y="1" name="Label_1" text="City"/> |
|
|
<entry name="city" x="1" y="2" width="15" field="city" case="upper" required=""> |
|
17 |
<options> |
<options> |
18 |
<option name="tip" value="Full name of city"/> |
<option name="tip" value="Full name of city"/> |
19 |
</options> |
</options> |
20 |
</entry> |
</field> |
21 |
<label x="17" y="1" name="Label_2" text="State"/> |
<field name="state" field="state" fk_description="description" |
22 |
<entry x="17" y="2" field="state" style="dropdown" name="state" width="15" |
fk_key="state" fk_source="validator"> |
|
fk_source="validator" fk_key="state" |
|
|
fk_description="description"> |
|
23 |
<options> |
<options> |
24 |
<option name="tip" value="State"/> |
<option name="tip" value="State"/> |
25 |
</options> |
</options> |
26 |
</entry> |
</field> |
27 |
<label x="33" y="1" name="Label_3" text="Zip"/> |
<field name="zip" field="zip" max_length="5" typecast="number"> |
|
<entry x="33" y="2" field="zip" name="zip" max_length="5" width="5" |
|
|
typecast="number"> |
|
28 |
<options> |
<options> |
29 |
<option name="tip" value="US Postal Zip Code"/> |
<option name="tip" value="US Postal Zip Code"/> |
30 |
</options> |
</options> |
31 |
</entry> |
</field> |
|
<scrollbar x="40" y="2" width="1" height="15"/> |
|
32 |
</block> |
</block> |
33 |
</page> |
</logic> |
34 |
|
<layout xmlns:c="GNUe:Layout:Char" c:height="18" c:width="44"> |
35 |
|
<page name="Page_1"> |
36 |
|
<box c:x="0" c:y="0" c:width="44" c:height="12" label="Codigos Postales"/> |
37 |
|
<label name="Label_1" text="City" c:x="2" c:y="1"/> |
38 |
|
<entry block="zip" field="city" c:width="15" c:x="2" c:y="2" /> |
39 |
|
<label name="Label_2" text="State" c:x="18" c:y="1"/> |
40 |
|
<entry block="zip" field="state" style="dropdown" c:width="15" c:x="18" |
41 |
|
c:y="2"/> |
42 |
|
<label name="Label_3" text="Zip" c:x="34" c:y="1"/> |
43 |
|
<entry block="zip" field="zip" c:width="5" c:x="34" c:y="2"/> |
44 |
|
<scrollbar block="zip" page="3" c:x="40" c:y="2" c:width="1" c:height="9"/> |
45 |
|
<button label="Cancelar y Salir" c:x="1" c:y="14" c:width="17" c:height="1"> |
46 |
|
<trigger type="On-Action"> |
47 |
|
zip.rollback() |
48 |
|
close() |
49 |
|
</trigger> |
50 |
|
</button> |
51 |
|
<button label="Deshacer Cambios" c:x="1" c:y="15" c:width="17" c:height="1"> |
52 |
|
<trigger type="On-Action"> |
53 |
|
zip.rollback() |
54 |
|
</trigger> |
55 |
|
</button> |
56 |
|
<button label="Aceptar" c:x="19" c:y="14" c:width="10" c:height="1"> |
57 |
|
<trigger type="On-Action"> |
58 |
|
zip.commit() |
59 |
|
</trigger> |
60 |
|
</button> |
61 |
|
<button label="Buscar" c:x="19" c:y="15" c:width="10" c:height="1"> |
62 |
|
<trigger type="On-Action"> |
63 |
|
zip.initQuery() |
64 |
|
zip.city = "ID%" |
65 |
|
zip.executeQuery() |
66 |
|
</trigger> |
67 |
|
</button> |
68 |
|
</page> |
69 |
|
</layout> |
70 |
</form> |
</form> |