dlongnecker
MIS
I'll try to draw this out the best I can.
I have two tables, discipline (reading, math, writing, etc) and the actual information table. I want to do a loop through the information table that looks all of the records, determines the dicipline and "groups" them together when it displays
Example, the discipline table showed that a discipline id (d_it for this example) of 1 was Reading; "for each" of the d_it = 1 records in the data table, write them to the screen.
Reading (d_it = 1)
Level
Target
Focus
Strategy
Resource
"next"
Then, loop through the d_it = 2, 3, 4, etc.
I originally designed these disciplines as hard coded (Math, Science, Reading, Writing, etc); however, the customer wants to be able to update the table (which also populates a combo box that users are "editing" these from) if the local government decides to add new curriculum areas.
I've tried different for each loops, while not, etc... no luck and/or I'm just not getting the code correct.
Let me know if you need more details or a better explaination... and I'll keep updating the thread as I think of things...
Regards,
David
---
David R. Longnecker
Web Developer
CCNA, MCSA, Network+, A+
Management Information Services
Wichita Public Schools, USD 259
I have two tables, discipline (reading, math, writing, etc) and the actual information table. I want to do a loop through the information table that looks all of the records, determines the dicipline and "groups" them together when it displays
Example, the discipline table showed that a discipline id (d_it for this example) of 1 was Reading; "for each" of the d_it = 1 records in the data table, write them to the screen.
Reading (d_it = 1)
Level
Target
Focus
Strategy
Resource
"next"
Then, loop through the d_it = 2, 3, 4, etc.
I originally designed these disciplines as hard coded (Math, Science, Reading, Writing, etc); however, the customer wants to be able to update the table (which also populates a combo box that users are "editing" these from) if the local government decides to add new curriculum areas.
I've tried different for each loops, while not, etc... no luck and/or I'm just not getting the code correct.
Let me know if you need more details or a better explaination... and I'll keep updating the thread as I think of things...
Regards,
David
---
David R. Longnecker
Web Developer
CCNA, MCSA, Network+, A+
Management Information Services
Wichita Public Schools, USD 259