home *** CD-ROM | disk | FTP | other *** search
- ** END HEADER -- do not remove this line
- //
- // Generated on 10/13/97
- //
- class ScheduleDataModule of FLEETCDATAMODULE from "fleet.cdm"
- this.SCHEDULE1 = new QUERY()
- this.SCHEDULE1.parent = this
- with (this.SCHEDULE1)
- left = 4
- top = 2
- database = form.dbfleet
- sql = 'SELECT * FROM "SCHEDULE.DBF" schedule ORDER BY schedule."Flight ID"'
- active = true
- endwith
-
- with (this.SCHEDULE1.rowset)
- indexName = "Flight ID"
- endwith
-
-
- this.AIRCRAFT1 = new QUERY()
- this.AIRCRAFT1.parent = this
- with (this.AIRCRAFT1)
- left = 8
- top = 2
- database = form.dbfleet
- sql = 'SELECT * FROM "AIRCRAFT.DBF"'
- active = true
- endwith
-
-
- with (this.AIRCRAFT1.rowset)
- indexName = "Aircraft ID"
- masterRowset = parent.parent.schedule1.rowset
- masterFields = "Aircraft ID"
- endwith
-
-
- this.FLIGHT1 = new QUERY()
- this.FLIGHT1.parent = this
- with (this.FLIGHT1)
- left = 12
- top = 2
- database = form.dbfleet
- sql = 'SELECT * FROM "FLIGHT.DBF"'
- active = true
- endwith
-
-
- with (this.FLIGHT1.rowset)
- fields["From ID"].lookupSQL = 'SELECT airport."Airport ID", airport FROM "airport.dbf" airport'
- fields["To ID"].lookupSQL = 'SELECT airport."Airport ID", airport FROM "airport.dbf" airport'
- autoEdit = false
- indexName = "Flight ID"
- masterRowset = parent.parent.schedule1.rowset
- masterFields = "Flight ID"
- endwith
- endclass
-