Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Updating records

New Here ,
Jul 20, 2006 Jul 20, 2006

Copy link to clipboard

Copied

I am developing an app that will allow teachers to enter academic data and reports for their students. I would like them to be able to call up the whole class at once so they can write the report for one student and go straight onto the next. What would be the best way to do this? ideally either the whole class would appear one after the other, or the user would navigate from one to the next. I have the dataset sorted but I would like some advice on how to lay the records out for updating.

Thanks in advance
TOPICS
Server side applications

Views

228
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 20, 2006 Jul 20, 2006

Copy link to clipboard

Copied

How do you ahve them sorted?

You can have them organized by class, associating students and teachers with
a specific hour of class. No student or teacher should have two classes
durign the same hour (from what i remember).

teacher table -
teacherID

student table-
studentID

Class table
cID TeacherID StudentID Hour
pk Teacher's ID Student's ID Hour

Then for a class listing you just have to pull the teacher's ID from your
session variable and do an INNER JOIN to join the student data with their
class WHERE tableClass.studentID = tableStudent.StudentID. GROUP BY
tableClass.Hour ASC

Next, just do a do while statement, breaking your different hours into
sub-sections (i'll let you figure that part out, that's where it gets fun)

Hour 1
Student Name Other Info
Student Name Other Info

"denman" <webforumsuser@macromedia.com> wrote in message
news:e9nm5a$mjt$1@forums.macromedia.com...
>I am developing an app that will allow teachers to enter academic data and
> reports for their students. I would like them to be able to call up the
> whole
> class at once so they can write the report for one student and go straight
> onto
> the next. What would be the best way to do this? ideally either the whole
> class
> would appear one after the other, or the user would navigate from one to
> the
> next. I have the dataset sorted but I would like some advice on how to lay
> the
> records out for updating.
>
> Thanks in advance
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 21, 2006 Jul 21, 2006

Copy link to clipboard

Copied

Thanks a lot, that's helpful Crash

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 21, 2006 Jul 21, 2006

Copy link to clipboard

Copied

LATEST
So I get an "A"? ;o)

hope it works out mate.


"denman" <webforumsuser@macromedia.com> wrote in message
news:e9pvgd$jrq$1@forums.macromedia.com...
> Thanks a lot, that's helpful Crash


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines