home *** CD-ROM | disk | FTP | other *** search
-
- * WIZNAME = WZ_BQUER
- * VERSION = .62
- * TIMESTAMP= 474064347.0000
- * TABLES = "C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF";"C:\FPW26\SAMPLE\CATALOG\INVOICES.DBF"
- * JOINS = Invoices,"Cno",Customer,"Cno",1
- * FIELDS = Customer.company;Customer.city;Customer.state;Customer.zip;ORDERS=COUNT(Invoices.ino);TOTALSALES=SUM(Invoices.itotal)
- * SORT FIELDS = Customer.company
- * GROUP = Customer.company:1C
- * SQL Select statement for Mailmerge Wizard:
- *SELECT Customer.company,Customer.city,Customer.state,Customer.zip,;
- COUNT(Invoices.ino) AS ORDERS,;
- SUM(Invoices.itotal) AS TOTALSALES ;
- * FROM ;
- * LOCFILE("C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF","DBF","Where is Customer.DBF ?"),;
- * LOCFILE("C:\FPW26\SAMPLE\CATALOG\INVOICES.DBF","DBF","Where is Invoices.DBF ?");
- * WHERE Customer.Cno=Invoices.Cno;
- * ORDER BY Customer.company;
- * GROUP BY Customer.company;
- * INTO CURSOR Query
- SELECT Customer.company,Customer.city,Customer.state,Customer.zip,;
- COUNT(Invoices.ino) AS ORDERS,;
- SUM(Invoices.itotal) AS TOTALSALES ;
- FROM ;
- LOCFILE("C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF","DBF","Where is Customer.DBF ?"),;
- LOCFILE("C:\FPW26\SAMPLE\CATALOG\INVOICES.DBF","DBF","Where is Invoices.DBF ?");
- WHERE Customer.Cno=Invoices.Cno;
- ORDER BY Customer.company;
- GROUP BY Customer.company;
- INTO CURSOR Query