How to access this array in the main form when I press a SAVE button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • p4willi
    New Member
    • Jun 2010
    • 22

    #1

    How to access this array in the main form when I press a SAVE button

    Can I send a message in continuation with this one?

    I have a sub form with that creates an array in the following manner:

    Code:
    Dim i As Integer
    Dim Arr1() As String
    Private Sub cbo_hdr_memid_Change()
    i = i + 1
    ReDim Preserve Arr1(1 To i)
    Arr1(i) = Me.cbo_hdr_memid.Text
    End Sub
    How would I be able to access this array in the main form when I press a SAVE button?
    Last edited by Niheel; Jun 21 '10, 08:54 PM. Reason: added code tags, please use code tags
  • ADezii
    Recognized Expert Expert
    • Apr 2006
    • 8834

    #2
    Originally posted by p4willi
    Can I send a message in continuation with this one?

    I have a sub form with that creates an array in the following manner:

    Code:
    Dim i As Integer
    Dim Arr1() As String
    Private Sub cbo_hdr_memid_Change()
    i = i + 1
    ReDim Preserve Arr1(1 To i)
    Arr1(i) = Me.cbo_hdr_memid.Text
    End Sub
    How would I be able to access this array in the main form when I press a SAVE button?
    How would I be able to access this array in the main form when I press a SAVE button?
    Pass the Array to where?

    Comment

    Working...