C
Christopher Brandsdal
I have problem with a sql query..
My query looks like this:
strSql = "SELECT Topic.name, Topic.topic_id, [Topic].[level],
Topic.content_type_id, Topic.visible, Topic.external_link,
Topic.more_content, Topic.content_link, Topic.list_link,
Content_Type.admin_file_name, content_Type.description ";
strSql += "FROM content_Type RIGHT JOIN Topic ON
content_Type.content_type_id = Topic.content_type_id "
strSql += "ORDER BY Topic.hierarchy;";
But what I want to do is join in a secound table called ''menu''.
The 2 fields I want to join in is ''menu.topic_id'' and ''menu.language_id''
How can I join them in the same FROM query like this: menu.topic_id =
Topic.topic_id
If I understand tis right, I have to use two joins in the same FROM
sentence?
Christopher Brandsdal
My query looks like this:
strSql = "SELECT Topic.name, Topic.topic_id, [Topic].[level],
Topic.content_type_id, Topic.visible, Topic.external_link,
Topic.more_content, Topic.content_link, Topic.list_link,
Content_Type.admin_file_name, content_Type.description ";
strSql += "FROM content_Type RIGHT JOIN Topic ON
content_Type.content_type_id = Topic.content_type_id "
strSql += "ORDER BY Topic.hierarchy;";
But what I want to do is join in a secound table called ''menu''.
The 2 fields I want to join in is ''menu.topic_id'' and ''menu.language_id''
How can I join them in the same FROM query like this: menu.topic_id =
Topic.topic_id
If I understand tis right, I have to use two joins in the same FROM
sentence?
Christopher Brandsdal