G
Guest
I'm the only user for this database.
I want to make following query linking the table Detail two times to another
table Person:
SELECT Detail.Detail, Person.FirstName, Person.LastName, Detail_1.Detail
FROM (Person LEFT JOIN Detail ON Person.TitleID = Detail.DetailID) LEFT JOIN
Detail AS Detail_1 ON Person.GenderID = Detail_1.DetailID;
I get following error:
The table "Detail" is already opened exclusively by another user, or it is
already open through the user interface and cannot be manipulated
programmaticaly
Following query doesn't provoke an error:
SELECT Detail.Detail, Person.FirstName, Person.LastName
FROM Person LEFT JOIN Detail ON Person.TitleID = Detail.DetailID;
Why do I get this error and how can I prevent that error?
Thanks
I want to make following query linking the table Detail two times to another
table Person:
SELECT Detail.Detail, Person.FirstName, Person.LastName, Detail_1.Detail
FROM (Person LEFT JOIN Detail ON Person.TitleID = Detail.DetailID) LEFT JOIN
Detail AS Detail_1 ON Person.GenderID = Detail_1.DetailID;
I get following error:
The table "Detail" is already opened exclusively by another user, or it is
already open through the user interface and cannot be manipulated
programmaticaly
Following query doesn't provoke an error:
SELECT Detail.Detail, Person.FirstName, Person.LastName
FROM Person LEFT JOIN Detail ON Person.TitleID = Detail.DetailID;
Why do I get this error and how can I prevent that error?
Thanks