geoffKaman
Programmer
I am trying to creat a Dynamic Menu that Builds Catagories and Catagory Items. For Example
Departments
Department 1
Department 2
Programs
Program 1
Program 2
I am trying to use the elements in the Catagory Array to point to another Array. The CatagoryItems Array. I would think it would look like this.
Dim Catagory(2)
Catagory(0) = Departments
Catagory(1) = Programs
Catagory(2) = Syllabus
Dim Departments(2)
Departments(0) = "Finance"
Departments(1) = "Marketing"
Departments(2) = "Managment"
Dim Programs(2)...
Dim Syllabus(3)...
When I use the elements in Catagory(2), I get the Error of Object not collection. What am I doing wrong? Can I index arrays within arrays, if so what is the correct syntax?
I appriciate the time to reveiw my problem.
Thank you.
Geoff
Departments
Department 1
Department 2
Programs
Program 1
Program 2
I am trying to use the elements in the Catagory Array to point to another Array. The CatagoryItems Array. I would think it would look like this.
Dim Catagory(2)
Catagory(0) = Departments
Catagory(1) = Programs
Catagory(2) = Syllabus
Dim Departments(2)
Departments(0) = "Finance"
Departments(1) = "Marketing"
Departments(2) = "Managment"
Dim Programs(2)...
Dim Syllabus(3)...
When I use the elements in Catagory(2), I get the Error of Object not collection. What am I doing wrong? Can I index arrays within arrays, if so what is the correct syntax?
I appriciate the time to reveiw my problem.
Thank you.
Geoff