commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnue-reports/samples/location zip-by-state...


From: Jason Cater
Subject: gnue/gnue-reports/samples/location zip-by-state...
Date: Wed, 20 Jun 2001 03:46:00 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/06/20 03:46:00

Modified files:
        gnue-reports/samples/location: zip-by-state.grd 

Log message:
        Modified sample to take advantage of section <default> tags; sections 
whose datasources return no results will display this <default> text

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/location/zip-by-state.grd.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gnue/gnue-reports/samples/location/zip-by-state.grd
diff -u gnue/gnue-reports/samples/location/zip-by-state.grd:1.4 
gnue/gnue-reports/samples/location/zip-by-state.grd:1.5
--- gnue/gnue-reports/samples/location/zip-by-state.grd:1.4     Tue May 29 
19:19:49 2001
+++ gnue/gnue-reports/samples/location/zip-by-state.grd Wed Jun 20 03:45:59 2001
@@ -3,12 +3,6 @@
 
   <parameters> 
     <parameter id="state" type="char" description="State"/> 
-    <!--parameter id="vendor1" type="char" description="Starting Vendor" 
default="00000000" 
-               required="no" source="select" limited="no"/> 
-    <parameter id="vendor2" type="char" description="Ending Vendor" 
default="ZZZZZZZZ" 
-               required="no"/> 
-    <parameter id="withbal" type="char" description="Include Balances" 
required="yes"
-               source="list" limited="yes"/>  -->
   </parameters>        
 
 
@@ -28,9 +22,6 @@
     <datasource name="zips" database="gnue" table="zipcode"/>
     <datasource name="states" database="gnue" table="state" 
        master="zips" detaillink="state" masterlink="state"/>
-    <!--group id="state" datasource="states">
-      <source datasource="states" field="description"
-    </sfields-->
   </sources>
 
 
@@ -44,45 +35,11 @@
           <field source="states" name="description"/> (<field source="zips" 
name="state"/>)
         </section>
       </section>
+      <default> 
+     (No results to display)
+     </default>
     </section>
     &lt;/myreport&gt;
   </layout>
-
-
- 
-<!--  <datasource name="zips" database="gnue" table="state" type="xml-query">
-    <query>
-      <fields>
-        <field id="state_abbrev">
-          <column name="s.state"/>
-        </field>
-        <field id="state_name">
-          <column name="s.description"/>
-        </field>
-        <field id="zip">
-          <column name="z.zipcode"/>
-        </field>
-        <field id="city">
-          <column name="z.city"/>
-        </field>
-      </fields>
-      <sources>
-        <source id="s">
-          <table name="state"/>
-        </source>
-        <source id="z">
-          <table name="zipcode"/>
-        </source>
-      </sources>
-      <conditions>
-        <eq>
-          <column name="z.state"/>
-          <column name="s.state"/>
-        </eq>
-      </conditions>
-    </query>
-  </datasource>
--->
-
 
 </report>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]