Results 1 to 6 of 6

Thread: (Resolved) - Class within a Class

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2001
    Location
    Albany, NY
    Posts
    489

    (Resolved) - Class within a Class

    We have created class modules and collections for
    a project.

    One Class is Called Project, it has several properties:
    Customer, CustomerPhone#......

    Each Project can have a Quality Assurance(class) which also
    has it's own properties: Statement_of_Work, Batch_process....

    The problem is that I want to access the Quality Assurance
    Class from my Project Class Like So:

    Dim MyProj as New Project
    MyProj.QualityAssurance.Statement_of_work = "something"
    ---------this give me an error of Object not Set ------------


    I can create New Projects and New Quality Assurances but
    I cannot access them the way I stated above.

    I am guessing that I have to link them somehow but I'm
    not sure what to do.

    Basically I just want to have a class within a class.
    Any help is appreciated!!!
    Last edited by jcfowl; Mar 13th, 2002 at 10:03 AM.

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