home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton cmdQuit
- Caption = "Quit"
- Height = 375
- Left = 3120
- TabIndex = 6
- Top = 2520
- Width = 1335
- End
- Begin VB.CommandButton cmdNext
- Caption = "Next"
- Height = 375
- Left = 1680
- TabIndex = 5
- Top = 2520
- Width = 1335
- End
- Begin VB.CommandButton cmdPrev
- Caption = "Previous"
- Height = 375
- Left = 240
- TabIndex = 4
- Top = 2520
- Width = 1335
- End
- Begin VB.TextBox txtEmpId
- DataField = "EmployeeID"
- DataMember = "cmdEmployees"
- DataSource = "deNorthWind"
- Height = 375
- Left = 1680
- TabIndex = 1
- Text = "Text2"
- Top = 720
- Width = 1815
- End
- Begin VB.TextBox txtEmployeeName
- Height = 375
- Left = 1680
- TabIndex = 0
- Text = "Text1"
- Top = 240
- Width = 1815
- End
- Begin VB.Label lblName
- Caption = "Employee Name"
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 360
- Width = 1455
- End
- Begin VB.Label lblID
- Caption = "Employee ID"
- Height = 255
- Left = 120
- TabIndex = 2
- Top = 840
- Width = 1455
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdNext_Click()
- deNorthWind.rscmdEmployees.MoveNext
- txtEmployeeName.Text = deNorthWind.rscmdEmployees.Fields!firstname & _
- deNorthWind.rscmdEmployees.Fields!lastname
- End Sub
- Private Sub cmdPrev_Click()
- deNorthWind.rscmdEmployees.MovePrevious
- txtEmployeeName.Text = deNorthWind.rscmdEmployees.Fields!firstname & _
- deNorthWind.rscmdEmployees.Fields!lastname
- End Sub
- Private Sub cmdQuit_Click()
- End Sub
- Private Sub Form_Load()
- txtEmployeeName.Text = deNorthWind.rscmdEmployees.Fields!firstname & _
- deNorthWind.rscmdEmployees.Fields!lastname
- End Sub
-