home *** CD-ROM | disk | FTP | other *** search
-
- * WIZNAME = WZ_BQUER
- * VERSION = .72
- * TIMESTAMP= 473918752.0000
- * CLIENTSERVER =
- * TABLES = "C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF";"C:\FPW26\SAMPLE\CATALOG\SALESMAN.DBF"
- * JOINS = Salesman,"Address",Customer,"Address",1
- * FIELDS = Salesman.name;Customer.company;Customer.address;Customer.city;Customer.state
- * SORT FIELDS = Customer.company
- * GROUP = Customer.ytdpurch:5N
- * SQL = SQL Select statement for Mailmerge Wizard:
- *SELECT Salesman.name,Customer.company,Customer.address,Customer.city,Customer.state,;
- * INT(Customer.ytdpurch/10000) * 10000 AS GRP1 ;
- * FROM ;
- * C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF,C:\FPW26\SAMPLE\CATALOG\SALESMAN.DBF;
- * WHERE Customer.Address=Salesman.Address;
- * ORDER BY Customer.company;
- * GROUP BY GRP1;
- * INTO CURSOR Query
- SELECT Salesman.name,Customer.company,Customer.address,Customer.city,Customer.state,;
- INT(Customer.ytdpurch/10000) * 10000 AS GRP1 ;
- FROM ;
- LOCFILE("C:\FPW26\SAMPLE\CATALOG\CUSTOMER.DBF","DBF","Where is Customer.DBF ?"),;
- LOCFILE("C:\FPW26\SAMPLE\CATALOG\SALESMAN.DBF","DBF","Where is Salesman.DBF ?");
- WHERE Customer.Address=Salesman.Address;
- ORDER BY Customer.company;
- GROUP BY GRP1;
- INTO CURSOR Query