F
FatMan
Hi all:
I have a form that has three combo boxes on it. Due to the way the user
wants to do data entry I have had to allow multiple entries in each of the
combo boxes. I have done this through the use of arrays and a bit of code on
the after update event. The code is pretty much the same for each
array/combo box with only the name of the array and counter changing. What
I would like to know now is there a way to open a form and print or dump the
contents of the arays so the user can see the selections they have made.
Code:
Private Sub SprayBlockID_AfterUpdate()
Dim i As Integer
'set counter to ensure first entry is entered into the first element
intBlCount = intBlCount + 1
'assign entry (BlockID) to array
intBlockID(intBlCount) = Me.SprayBlockID
Debug.Print "Counter: " & intBlCount & " Array: " & intBlockID(intBlCount)
End Sub
Any help is greatly appreciated.
Thanks,
Darren
I have a form that has three combo boxes on it. Due to the way the user
wants to do data entry I have had to allow multiple entries in each of the
combo boxes. I have done this through the use of arrays and a bit of code on
the after update event. The code is pretty much the same for each
array/combo box with only the name of the array and counter changing. What
I would like to know now is there a way to open a form and print or dump the
contents of the arays so the user can see the selections they have made.
Code:
Private Sub SprayBlockID_AfterUpdate()
Dim i As Integer
'set counter to ensure first entry is entered into the first element
intBlCount = intBlCount + 1
'assign entry (BlockID) to array
intBlockID(intBlCount) = Me.SprayBlockID
Debug.Print "Counter: " & intBlCount & " Array: " & intBlockID(intBlCount)
End Sub
Any help is greatly appreciated.
Thanks,
Darren