Ive tried
SELECT A.Users AS Creator, B.Users AS Closer, ToDo.*
FROM Todo (INNER JOIN Users A ON ToDo.Createdby=A.UserID)
INNER JOIN Users B ON ToDo.Closedby=B.UserID;
My two tables are as follows:-
Users
UserID as Autonumber
Name as text
Todo
Createdby = userID , as number
Closedby = userID...
Thanks for the quick replay.
I need the result to simply print a report of all todos with the userid's replaced with username.
I have tried the suggestion from PHV, but unfortunately i get, 'syntax error in from clause'. i have tried various brackets, but no success.
Hi,
I am trying to join two tables to produce a report. A Todo table has two fileds that reference the user table. I can successfully join on one field.
SELECT Users.User, ToDo.*
FROM todo INNER JOIN Users ON (Users.UserID = ToDo.Closedby)
But trying to join on both fields i have problems. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.