Hi everyone, this is my first post and I hope I have not broken any forum rules. I have had a search of the previous posts but cannot find anything that matches my problem.
I'm fairly competent on Excel and need to migrate my spread sheets to a database due to size (maybe my Excel thinking is the cause of the problem). However I am new to Access and stuck with how I can tackle this problem.
I want to run a count on a query but the count is based on a list of variables in another table.
The main query is 2 column list with PC name in col1 and the discovered software in col 2. Each app found is listed on a separate line so there are a number of lines with the same machine name and all apps found.
E.G. QUERY1
PC1 Access2010
PC1 Office2010
PC1 Excel2010
PC1 Visio2010
PC2 Office2010
PC2 Excel2010
PC2 Powerpoint2010
The counts that I want to do is count the machines with App1 ONLY installed, Machines with APP1 AND APP2 installed etc. The Boolean logic is AND, OR, NOT and ONLY. This data is held in a table that I call my 'Rules Table'
E.G. TABLE 2
App1 Access2010 AND Office2010
App2 Office2010 ONLY
App3 Excel2010 OR Office2010
App4 Visio2010 NOT Powerpoint2010
I have managed to get to count by the value in column 2 of the table i.e. Access, Office, Excel and Visio, but cannot see how to use the logical value in Column 3 and the additional search value in Column 4.
Any advice on how I can tackle this would be greatly appreciated and I hope this makes sense.