Hi everyone,
I am working on a website in .asp in combination with an Access 2000 database.
I am letting the database do al the querying and just stumbled upon a problem I hadn't even noticed before.
For this query, I have 3 tables:
-Received: stores info about cd's
-Bands: stores bandnames
-Journalists: stores names of journalists
SQL:
SELECT Received.Id, Bands.Bandname, Received.CdTitle, Journalists.FirstName, Journalists.Journalist_ID
FROM (Bands INNER JOIN (Received INNER JOIN Label ON Received.LabelID = Label.LabelID) ON Bands.Band_ID = Received.Bandname) INNER JOIN Journalists ON Recieved.Journalist_ID = Journalists.Journalist_ID;
This query should tell me which cd was given to which journalists. And it does, except for one problem: when in the table 'Received' the field Journalist_ID is empty (because the cd hasn't been handed out yet), the field simply does not show up in the query.
Any idea what might cause this?
Thanks a lot!
I am working on a website in .asp in combination with an Access 2000 database.
I am letting the database do al the querying and just stumbled upon a problem I hadn't even noticed before.
For this query, I have 3 tables:
-Received: stores info about cd's
-Bands: stores bandnames
-Journalists: stores names of journalists
SQL:
SELECT Received.Id, Bands.Bandname, Received.CdTitle, Journalists.FirstName, Journalists.Journalist_ID
FROM (Bands INNER JOIN (Received INNER JOIN Label ON Received.LabelID = Label.LabelID) ON Bands.Band_ID = Received.Bandname) INNER JOIN Journalists ON Recieved.Journalist_ID = Journalists.Journalist_ID;
This query should tell me which cd was given to which journalists. And it does, except for one problem: when in the table 'Received' the field Journalist_ID is empty (because the cd hasn't been handed out yet), the field simply does not show up in the query.
Any idea what might cause this?
Thanks a lot!