Notes ListBox

KodeKing

Registered User.
Local time
Today, 00:10
Joined
Sep 5, 2003
Messages
10
Hi all,

I am having a problem getting the notes on a student to display. At the moment I have to input the student ID into an input box before the students for displays or I don't get any notes displayed.

This is what I have in the SQL statement for my ListBox.

SELECT tblNotes.NoteID, tblNotes.StudentID, tblNotes.Date, tblNotes.Author, tblNotes.Note, tblStudent.StudentID
FROM tblStudent, tblNotes
WHERE tblNotes.StudentID = tblStudents.StudentID;

This is for a college project and any help would be great! Thanks
 
KodeKing said:
SELECT tblNotes.NoteID, tblNotes.StudentID, tblNotes.Date, tblNotes.Author, tblNotes.Note, tblStudent.StudentID
FROM tblStudent, tblNotes
WHERE tblNotes.StudentID = tblStudents.StudentID;

Looks like a spelling mistake. Shouldn't it be tblStudent in that last WHERE clause?
 
All I can say is MUPPET :o

Thanks alot :D
 

Users who are viewing this thread

Back
Top Bottom