home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------
- //
- // Invoice.dmd - Mugs Sample Application
- //
- // Invoice Data Module for the Invoice data entry form.
- //
- // Dependencies: MUGS.CDM
- // CUSTOMER.DBF
- // INVOICE.DBF
- // LINEITEM.DBF
- //
- // Visual dBASE Samples Group
- //
- // $Revision: 1.8 $
- //
- // Copyright (c) 1997, Borland International, Inc.
- // All rights reserved.
- //
- //---------------------------------------------------------------
- ** END HEADER -- do not remove this line
- //
- // Generated on 10/17/97
- //
- class InvoiceDataModule of MUGSDATAMODULE from "mugs.cdm"
-
-
- this.INVOICE1 = new QUERY()
- this.INVOICE1.parent = this
- with (this.INVOICE1)
- left = 2
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "INVOICE.DBF"'
- active = true
- endwith
-
-
-
-
- this.LINEITEM1 = new QUERY()
- this.LINEITEM1.parent = this
- with (this.LINEITEM1)
- left = 6
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "LINEITEM.DBF"'
- active = true
- endwith
-
-
- with (this.LINEITEM1.rowset)
-
- indexName = "INVOICE ID"
- masterRowset = parent.parent.invoice1.rowset
- masterFields = "INVOICE ID"
- endwith
-
-
- this.CUSTOMER1 = new QUERY()
- this.CUSTOMER1.parent = this
- with (this.CUSTOMER1)
- left = 10
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "CUSTOMER.DBF"'
- active = true
- endwith
-
-
- with (this.CUSTOMER1.rowset)
-
- indexName = "CUSTOMER ID"
- masterRowset = parent.parent.invoice1.rowset
- masterFields = "CUSTOMER ID"
- endwith
-
-
- endclass
-