home
frmWork.frm
Author Nigel Rivett
VERSION 5.00
Begin VB.Form frmWork
Caption = "Form2"
ClientHeight = 7965
ClientLeft = 60
ClientTop = 450
ClientWidth = 13095
LinkTopic = "Form2"
ScaleHeight = 7965
ScaleWidth = 13095
StartUpPosition = 3 'Windows Default
Begin VB.TextBox txtValue
Height = 375
Index = 15
Left = 3360
TabIndex = 31
Top = 5760
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 14
Left = 3360
TabIndex = 29
Top = 5400
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 13
Left = 3360
TabIndex = 27
Top = 5040
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 12
Left = 3360
TabIndex = 25
Top = 4680
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 11
Left = 3360
TabIndex = 23
Top = 4320
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 10
Left = 3360
TabIndex = 21
Top = 3960
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 9
Left = 3360
TabIndex = 19
Top = 3600
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 8
Left = 3360
TabIndex = 17
Top = 3240
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 7
Left = 3360
TabIndex = 15
Top = 2880
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 6
Left = 3360
TabIndex = 13
Top = 2520
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 5
Left = 3360
TabIndex = 11
Top = 2160
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 4
Left = 3360
TabIndex = 9
Top = 1800
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 3
Left = 3360
TabIndex = 7
Top = 1440
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 2
Left = 3360
TabIndex = 5
Top = 1080
Visible = 0 'False
Width = 3015
End
Begin VB.TextBox txtValue
Height = 375
Index = 1
Left = 3360
TabIndex = 3
Top = 720
Visible = 0 'False
Width = 3015
End
Begin VB.CommandButton cmdDone
Caption = "Done"
Height = 615
Left = 9480
TabIndex = 2
Top = 7200
Width = 1335
End
Begin VB.TextBox txtValue
Height = 375
Index = 0
Left = 3360
TabIndex = 0
Top = 360
Visible = 0 'False
Width = 3015
End
Begin VB.Label lblLabel2
Height = 375
Index = 15
Left = 7200
TabIndex = 48
Top = 5760
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 14
Left = 7200
TabIndex = 47
Top = 5400
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 13
Left = 7200
TabIndex = 46
Top = 5040
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 12
Left = 7200
TabIndex = 45
Top = 4680
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 11
Left = 7200
TabIndex = 44
Top = 4320
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 10
Left = 7200
TabIndex = 43
Top = 3960
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 9
Left = 7200
TabIndex = 42
Top = 3600
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 8
Left = 7200
TabIndex = 41
Top = 3240
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 7
Left = 7200
TabIndex = 40
Top = 2880
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 6
Left = 7200
TabIndex = 39
Top = 2520
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 5
Left = 7200
TabIndex = 38
Top = 2160
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 4
Left = 7200
TabIndex = 37
Top = 1800
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 3
Left = 7200
TabIndex = 36
Top = 1440
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 2
Left = 7200
TabIndex = 35
Top = 1080
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 1
Left = 7200
TabIndex = 34
Top = 720
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel2
Height = 375
Index = 0
Left = 7200
TabIndex = 33
Top = 360
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 15
Left = 240
TabIndex = 32
Top = 5760
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 14
Left = 240
TabIndex = 30
Top = 5400
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 13
Left = 240
TabIndex = 28
Top = 5040
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 12
Left = 240
TabIndex = 26
Top = 4680
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 11
Left = 240
TabIndex = 24
Top = 4320
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 10
Left = 240
TabIndex = 22
Top = 3960
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 9
Left = 240
TabIndex = 20
Top = 3600
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 8
Left = 240
TabIndex = 18
Top = 3240
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 7
Left = 240
TabIndex = 16
Top = 2880
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 6
Left = 240
TabIndex = 14
Top = 2520
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 5
Left = 240
TabIndex = 12
Top = 2160
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 4
Left = 240
TabIndex = 10
Top = 1800
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 3
Left = 240
TabIndex = 8
Top = 1440
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 2
Left = 240
TabIndex = 6
Top = 1080
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 1
Left = 240
TabIndex = 4
Top = 720
Visible = 0 'False
Width = 3135
End
Begin VB.Label lblLabel
Height = 375
Index = 0
Left = 240
TabIndex = 1
Top = 360
Visible = 0 'False
Width = 3135
End
End
Attribute VB_Name = "frmWork"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdDone_Click()
Form1.Getdata
Unload Me
End Sub
Public Sub Getdata(aArray() As String)
Dim i As Long
For i = 1 To UBound(aArray, 2)
lblLabel(i) = aArray(1, i)
txtValue(i) = aArray(2, i)
lblLabel2(i) = aArray(3, i)
lblLabel(i).Visible = True
txtValue(i).Visible = True
lblLabel2(i).Visible = True
Next
End Sub
home