chrisbirley
Programmer
Hi I hope someone can help me!!
I am creating a small database to aid the company I work for in collating student’s information for the broadband service that we offer.
I have created a students table with their details and a room number. I have created a history table that stores this data minus the room no, but includes the end of the academic year. A student might do more than one year in the place of residence.
My problem is checking to see if a room no has been taken.
I type in the room no and get the query to check this against the data in the students table. If the value is matched then fine - it returns a message saying that room is not free please choose again. The problem is that if the room has not been taken, then I get no response from the query - i.e. not even a box for a record - and I cannot get my code to read this and return with the returning student in the room.
If you need any further details then do not hesitate to ask.
Thanks in advance
Chris
I am creating a small database to aid the company I work for in collating student’s information for the broadband service that we offer.
I have created a students table with their details and a room number. I have created a history table that stores this data minus the room no, but includes the end of the academic year. A student might do more than one year in the place of residence.
My problem is checking to see if a room no has been taken.
I type in the room no and get the query to check this against the data in the students table. If the value is matched then fine - it returns a message saying that room is not free please choose again. The problem is that if the room has not been taken, then I get no response from the query - i.e. not even a box for a record - and I cannot get my code to read this and return with the returning student in the room.
If you need any further details then do not hesitate to ask.
Thanks in advance
Chris