this code should bring up the owner "ECI" and all the other criteria falling under ECI but its bringing up everyone it is not adding the ECI critera. Just the Server, desktop, tablet,and laptop criteria regurdless of who ownes it. PLEASE HELP IM A SQL NOOB!
Code:
SELECT [Main Inventory].[Sai Serial Number], [Main Inventory].[Software installled 1], [Main Inventory].[Software Key 1], [Main Inventory].[Software installled 2], [Main Inventory].[Software Key 2], [Main Inventory].[Software installled 3], [Main Inventory].[Software Key 3]
FROM [Main Inventory]
WHERE ((([Main Inventory].Owner)="ECI") AND (([Main Inventory].[Product Type])="Desktop")) OR ((([Main Inventory].[Product Type])="Laptop PC")) OR ((([Main Inventory].[Product Type])="Server")) OR ((([Main Inventory].[Product Type])="Tablet PC"));