home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmDataEnv
- Caption = "Form1"
- ClientHeight = 5940
- ClientLeft = 60
- ClientTop = 348
- ClientWidth = 5868
- LinkTopic = "Form1"
- ScaleHeight = 5940
- ScaleWidth = 5868
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command4
- Caption = "Last"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.6
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 4170
- TabIndex = 25
- Top = 4845
- Width = 1200
- End
- Begin VB.CommandButton Command3
- Caption = "Next"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.6
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 2870
- TabIndex = 24
- Top = 4845
- Width = 1200
- End
- Begin VB.CommandButton Command2
- Caption = "Previous"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.6
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 1555
- TabIndex = 23
- Top = 4845
- Width = 1200
- End
- Begin VB.CommandButton Command1
- Caption = "First"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.6
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 240
- TabIndex = 22
- Top = 4845
- Width = 1200
- End
- Begin VB.TextBox txtFax
- DataField = "Fax"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 21
- Top = 4170
- Width = 3375
- End
- Begin VB.TextBox txtPhone
- DataField = "Phone"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 19
- Top = 3795
- Width = 3375
- End
- Begin VB.TextBox txtCountry
- DataField = "Country"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 17
- Top = 3420
- Width = 2475
- End
- Begin VB.TextBox txtPostalCode
- DataField = "PostalCode"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 15
- Top = 3030
- Width = 1650
- End
- Begin VB.TextBox txtRegion
- DataField = "Region"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 13
- Top = 2655
- Width = 2475
- End
- Begin VB.TextBox txtCity
- DataField = "City"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 11
- Top = 2280
- Width = 2475
- End
- Begin VB.TextBox txtAddress
- DataField = "Address"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 9
- Top = 1890
- Width = 3375
- End
- Begin VB.TextBox txtContactTitle
- DataField = "ContactTitle"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 7
- Top = 1515
- Width = 3375
- End
- Begin VB.TextBox txtContactName
- DataField = "ContactName"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 5
- Top = 1140
- Width = 3375
- End
- Begin VB.TextBox txtCompanyName
- DataField = "CompanyName"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 3
- Top = 750
- Width = 3375
- End
- Begin VB.TextBox txtCustomerID
- DataField = "CustomerID"
- DataMember = "Command1"
- DataSource = "DataEnvironment1"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 2025
- TabIndex = 1
- Top = 375
- Width = 825
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Fax:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 10
- Left = 1590
- TabIndex = 20
- Top = 4215
- Width = 405
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Phone:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 9
- Left = 1320
- TabIndex = 18
- Top = 3840
- Width = 675
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Country:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 8
- Left = 1170
- TabIndex = 16
- Top = 3465
- Width = 825
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "PostalCode:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 7
- Left = 840
- TabIndex = 14
- Top = 3075
- Width = 1155
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Region:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 6
- Left = 1275
- TabIndex = 12
- Top = 2700
- Width = 720
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "City:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 5
- Left = 1560
- TabIndex = 10
- Top = 2325
- Width = 435
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Address:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 4
- Left = 1155
- TabIndex = 8
- Top = 1935
- Width = 840
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "ContactTitle:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 3
- Left = 795
- TabIndex = 6
- Top = 1560
- Width = 1200
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "ContactName:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 2
- Left = 645
- TabIndex = 4
- Top = 1185
- Width = 1350
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "CompanyName:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 1
- Left = 495
- TabIndex = 2
- Top = 795
- Width = 1500
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "CustomerID:"
- BeginProperty Font
- Name = "Verdana"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 210
- Index = 0
- Left = 795
- TabIndex = 0
- Top = 420
- Width = 1200
- End
- Attribute VB_Name = "frmDataEnv"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- DataEnvironment1.rsCommand1.MoveFirst
- End Sub
- Private Sub Command2_Click()
- If DataEnvironment1.rsCommand1.BOF Then
- Beep
- Else
- DataEnvironment1.rsCommand1.MovePrevious
- If DataEnvironment1.rsCommand1.BOF Then
- DataEnvironment1.rsCommand1.MoveFirst
- End If
- End If
- End Sub
- Private Sub Command3_Click()
- If DataEnvironment1.rsCommand1.EOF Then
- Beep
- Else
- DataEnvironment1.rsCommand1.MoveNext
- If DataEnvironment1.rsCommand1.EOF Then
- DataEnvironment1.rsCommand1.MoveLast
- End If
- End If
- End Sub
- Private Sub Command4_Click()
- DataEnvironment1.rsCommand1.MoveLast
- End Sub
-