Hi there,
i have an access database, with a many-to-many relationship, consisting of 3 tables:
tblStock -
About 8 columns, eg. CODE, TITLE, AUTHOR (product details)
tblCategories -
Number
Name
tblStockCat -
StockRef (linked to CODE in tblStock)
CatRef (linked to NUMBER in tblCategories)
What i would like to do, is have a categories.asp page with links (eg. books.asp?cat=1) to the books.asp page. And by defining the cat=1, i want to be able to display all of the books on books.asp, that are in category 1.
What would be an appropriate SQL statement here? i have tried several but keep getting errors. Also, i am using dreamweaver mx, if that makes any difference. Please help!
i have an access database, with a many-to-many relationship, consisting of 3 tables:
tblStock -
About 8 columns, eg. CODE, TITLE, AUTHOR (product details)
tblCategories -
Number
Name
tblStockCat -
StockRef (linked to CODE in tblStock)
CatRef (linked to NUMBER in tblCategories)
What i would like to do, is have a categories.asp page with links (eg. books.asp?cat=1) to the books.asp page. And by defining the cat=1, i want to be able to display all of the books on books.asp, that are in category 1.
What would be an appropriate SQL statement here? i have tried several but keep getting errors. Also, i am using dreamweaver mx, if that makes any difference. Please help!