File: zipcode_maint.gfd

package info (click to toggle)
gnue-forms 0.5.11-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,384 kB
  • ctags: 1,577
  • sloc: python: 12,904; sql: 579; makefile: 28
file content (31 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0"?>

<!--  GNUe Forms 0.5.0 Migration Tool
      Saved on: 2002-11-26 20:28:18  -->

<form title="ZIP Code Maintenance">
  <options>
    <option name="version" value="0.0.1"/>
  </options>
  <datasource name="zips" connection="gnue" table="zipcode"/>
  <datasource name="validator" connection="gnue" prequery="Y" table="state"/>
  <logic>
    <block name="zip" datasource="zips" rows="10">
      <field name="city" case="upper" field="city"/>
      <field name="state" field="state" fk_description="description"
             fk_key="state" fk_source="validator"/>
      <field name="zip" field="zipcode" max_length="5" typecast="number"/>
    </block>
  </logic>
  <layout xmlns:c="GNUe:Layout:Char" c:height="14" c:width="50">
    <page name="Page_1">
      <label name="Label_1" text="City" c:x="1" c:y="1"/>
      <label name="Label_2" text="State" c:x="31" c:y="1"/>
      <label name="Label_3" text="Zip" c:x="39" c:y="1"/>
      <entry block="zip" field="city" c:width="30" c:x="1" c:y="2"/>
      <entry block="zip" field="state" style="dropdown" c:width="10" c:x="32"
             c:y="2"/>
      <entry block="zip" field="zip" c:width="7" c:x="42" c:y="2"/>
    </page>
  </layout>
</form>