File: states.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 (43 lines) | stat: -rw-r--r-- 1,954 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
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>

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

<form title="Master/Detail Demo">
  <options>
    <option name="version" value="0.0.2"/>
  </options>
  <datasource name="dsstate" cache="15" connection="gnue" order_by="state"
              prequery="Y" table="state"/>
  <datasource name="dscities" cache="15" connection="gnue" detaillink="state"
              master="dsstate" masterlink="state" order_by="city" table="zipcode"/>
  <logic>
    <block name="blkstate" datasource="dsstate" rows="5" transparent="Y" autoCreate="Y" autoNextRecord="Y" autoCommit="Y">
      <field name="entstate" field="state"/>
      <field name="entdesc" field="description"/>
    </block>
    <block name="cities" datasource="dscities" rows="5">
      <field name="city" field="city"/>
      <field name="state" field="state"/>
      <field name="zip" field="zip"/>
      <field name="zop"/>
    </block>
  </logic>
  <layout xmlns:c="GNUe:Layout:Char" c:height="18" c:width="39">
    <page name="Page_1">
      <box name="Box_1" c:height="8" label="State Cities" c:width="37" c:x="1"
           c:y="8"/>
      <label name="Label_1" text="Code" c:x="2" c:y="1"/>
      <entry block="blkstate" field="entstate" c:width="4" c:x="2" c:y="2"/>
      <label name="Label_2" text="Description" c:x="7" c:y="1"/>
      <entry block="blkstate" field="entdesc" c:width="30" c:x="7" c:y="2"/>
      <label name="Label_3" rows="1" text="City" c:x="2" c:y="9"/>
      <entry block="cities" field="city" c:width="20" c:x="2" c:y="10"/>
      <label name="Label_4" rows="1" text="ST" c:x="23" c:y="9"/>
      <entry block="cities" field="state" c:width="3" c:x="23" c:y="10"/>
      <label name="Label_5" rows="1" text="Zip" c:x="27" c:y="9"/>
      <entry block="cities" field="zip" c:width="10" c:x="27" c:y="10"/>
      <entry block="cities" field="zop" hidden="Y" c:width="1" c:x="27" c:y="1"/>
    </page>
  </layout>
</form>