home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0"; "DBLIST32.OCX"
- Begin VB.Form frm12_3_3
- Caption = "Add Cities to MEGACTY2"
- ClientHeight = 3372
- ClientLeft = 60
- ClientTop = 348
- ClientWidth = 4788
- LinkTopic = "Form1"
- ScaleHeight = 3372
- ScaleWidth = 4788
- StartUpPosition = 3 'Windows Default
- Begin VB.Data datCountries
- Caption = "Countries"
- Connect = "Access"
- DatabaseName = "Megacty2.mdb"
- DefaultCursorType= 0 'DefaultCursor
- DefaultType = 2 'UseODBC
- Exclusive = 0 'False
- Height = 375
- Left = 2520
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "Countries"
- Top = 2880
- Visible = 0 'False
- Width = 2055
- End
- Begin VB.Data datCities
- Caption = "Cities"
- Connect = "Access"
- DatabaseName = "D:\trash\Megacty2.mdb"
- DefaultCursorType= 0 'DefaultCursor
- DefaultType = 2 'UseODBC
- Exclusive = 0 'False
- Height = 375
- Left = 240
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "Cities"
- Top = 2880
- Visible = 0 'False
- Width = 2055
- End
- Begin VB.CommandButton cmdQuit
- Caption = "Quit"
- Height = 375
- Left = 2520
- TabIndex = 9
- Top = 120
- Width = 1935
- End
- Begin MSDBCtls.DBCombo dbcCountry
- Bindings = "12-3-3.frx":0000
- DataField = "country"
- DataSource = "datCities"
- Height = 315
- Left = 1440
- TabIndex = 8
- Top = 1200
- Width = 3135
- _ExtentX = 5525
- _ExtentY = 508
- _Version = 393216
- ListField = "country"
- Text = ""
- End
- Begin VB.TextBox txtPop2015
- DataField = "pop2015"
- DataSource = "datCities"
- Height = 285
- Left = 1440
- TabIndex = 7
- Top = 2400
- Width = 3135
- End
- Begin VB.TextBox txtPop1995
- DataField = "pop1995"
- DataSource = "datCities"
- Height = 285
- Left = 1440
- TabIndex = 6
- Top = 1800
- Width = 3135
- End
- Begin VB.TextBox txtCity
- DataField = "city"
- DataSource = "datCities"
- Height = 285
- Left = 1440
- TabIndex = 5
- Top = 720
- Width = 3135
- End
- Begin VB.CommandButton cmdAddNew
- Caption = "Add New City"
- Height = 375
- Left = 360
- TabIndex = 0
- Top = 120
- Width = 1935
- End
- Begin VB.Label lblPop2015
- Caption = "2015 Population:"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 2400
- Width = 1215
- End
- Begin VB.Label lblPop1995
- Caption = "1995 Population:"
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 1800
- Width = 1215
- End
- Begin VB.Label lblCountry
- Caption = "Country:"
- Height = 255
- Left = 720
- TabIndex = 2
- Top = 1320
- Width = 615
- End
- Begin VB.Label lblCity
- Caption = "City:"
- Height = 255
- Left = 960
- TabIndex = 1
- Top = 720
- Width = 375
- End
- Attribute VB_Name = "frm12_3_3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- datCities.DatabaseName = App.Path & "\MEGACTY2.MDB"
- datCountries.DatabaseName = App.Path & "\MEGACTY2.MDB"
- End Sub
- Private Sub cmdAddNew_Click()
- datCities.Recordset.AddNew
- End Sub
- Private Sub cmdQuit_Click()
- End
- End Sub
-