ethanplace
New member
- Local time
- Today, 11:31
- Joined
- Jan 11, 2016
- Messages
- 1
I'm trying to inner join multiple tables together from an access database but I keep on getting syntax error messages and I am unsure why.
Here's the code:
Here's the code:
Code:
da = New OleDbDataAdapter("SELECT Categories.Category, Subcategories.Subcategory, Descriptions.Description, Quantities.Quantity FROM (((Categories INNER JOIN Subcategories ON Categories.CategoryID = Subcategories.CategoryID) INNER JOIN Subcategories ON Subcategories.SubcategoryID = SubcategoryDescription.SubcategoryID) INNER JOIN Descriptions ON SubcategoryDescription.DescriptionID = Descriptions.DescriptionID) INNER JOIN Quantities ON Quantities.SubDescID = SubcategoryDescription.SubDescID", con)