![]() |
Sergey Kornilov admin 11/1/2006 |
Modify SQL query on Edit SQL query tab to select data from several tables. select Cars.[ID],
|
I
|
intour author 11/2/2006 |
Thanks for the relply. I have tried what you suggested but I am getting this message 'eroor in syntax 'From' clause. This isthe code - the last lines are the ones I have added: |
J
|
Jane 11/2/2006 |
Hi, From [products] inner join [categories_products] on (products.idProduct = categories_products.idProduct) |
I
|
intour author 11/2/2006 |
Hi Jane, |
J
|
Jane 11/2/2006 |
Hi, select products.[idProduct], ... categories.categoryDesc From [products] inner join [categories_products] inner join [categories] on ((products.idProduct = categories_products.idProduct) and (categories_products.idcategory=categories.idCategory)) |
I
|
intour author 11/2/2006 |
Thanks again jane for the quick response. select products.[idProduct], .......... [pcProd_SPInActive], [pcprod_AddWPrice], idCategory, categories.categoryDesc From [products] inner join [categories_products] inner join [categories] on ((products.idProduct = categories_products.idProduct) and (categories_products.idCategory=categories.idCategory))
|
J
|
Jane 11/3/2006 |
Sorry for my fault. select products.[idProduct], .......... [pcProd_SPInActive], [pcprod_AddWPrice], idCategory, categories.categoryDesc From [categories] inner join ([categories_products] inner join [products] on (products.idProduct = categories_products.idProduct)) on(categories.idCategory=categories_products.idCategory) |
I
|
intour author 11/3/2006 |
Hi Jane, |
J
|
Jane 11/3/2006 |
This error means that [detail] field is in more then one table. |
I
|
intour author 11/3/2006 |
Hi Jane, |