Results 1 to 11 of 11

Thread: [RESOLVED] Transfer UDT to Class [Nested Classes]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Resolved [RESOLVED] Transfer UDT to Class [Nested Classes]

    Hello,

    I have a pretty huge UDT but I'm now converting it as a Class Structure. However I'm having issues passing from/to the nested class properties.

    Example:

    Code:
    Dim testDB() As Class1_Main
    
    Private Sub Form_Load()
        ReDim testDB(0)
        Set testDB(0) = New Class1_Main
        testDB(0).Item(0).xName = "test"    'TEST isn't being passed on?
    
        MsgBox testDB(0).Item(0).xName      'EMPTY<<<<<<<<<<<<<
    
        End
    End Sub
    I've attached the Simple Project.
    Any help would be appreciated.
    Attached Files Attached Files
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width