home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "TYPESModule"
- Type Customer
- Company As String
- Manager As String
- Address As String
- City As String
- Country As String
- CustomerSince As Date
- Balance As Currency
- End Type
- Private Customers(10) As Customer
- Private cust As Customer
-
- Public Sub InitData()
-
- cust.Company = "Bottom-Dollar Markets"
- cust.Manager = "Elizabeth Lincoln"
- cust.Address = "23 Tsawassen Blvd."
- cust.City = "Tsawassen"
- cust.Country = "Canada"
- cust.CustomerSince = #10/20/1996#
- cust.Balance = 33500
- Customers(1) = cust
-
- cust.Company = "Consolidated Holdings"
- cust.Manager = "Elizabeth Brown"
- cust.Address = "Berkeley Gardens"
- cust.City = "London"
- cust.Country = "UK"
- cust.CustomerSince = #6/12/1992#
- cust.Balance = 45000
- Customers(2) = cust
-
- cust.Company = "Hungry Coyote Import Store"
- cust.Manager = "Yoshi Latimer"
- cust.Address = "City Center Plaza"
- cust.City = "Elgin"
- cust.Country = "USA"
- cust.CustomerSince = #1/1/1990#
- cust.Balance = -12000
- Customers(3) = cust
-
- cust.Company = "Piccolo und mehr"
- cust.Manager = "Georg Pipps"
- cust.Address = "Geislweg 14"
- cust.City = "Salzburg"
- cust.Country = "Austria"
- cust.CustomerSince = #1/1/1993#
- cust.Balance = 28400
- Customers(4) = cust
-
- cust.Company = "Vins et alcools Chevalier"
- cust.Manager = "Paul Henriot"
- cust.Address = "59 rue de l'Abbaye"
- cust.City = "Reims"
- cust.Country = "France"
- cust.CustomerSince = #1/20/1994#
- cust.Balance = -43500
- Customers(5) = cust
-
- cust.Company = "White Clover Markets"
- cust.Manager = "Karl Jablonski"
- cust.Address = "305 - 14th Ave. S."
- cust.City = "Seattle"
- cust.Country = "USA"
- cust.CustomerSince = #5/18/1990#
- cust.Balance = 33500
- Customers(6) = cust
-
- cust.Company = "Maison Dewey"
- cust.Manager = "Catherine Dewey"
- cust.Address = "Rue Joseph-Bens 532"
- cust.City = "Bruxelles"
- cust.Country = "Belgium"
- cust.CustomerSince = #10/10/1991#
- cust.Balance = 15400
- Customers(7) = cust
-
- End Sub
-
- Function CountCustomers() As Integer
- CountCustomers = 7
- End Function
-
- Function GetCustomer(idx As Integer) As Customer
- GetCustomer = Customers(idx)
- End Function
-
-