This is my first post in this forum. Hi everybody!
A quick question. Before I go, I'd like to say that I do not have any VBA experience, second, I'm not experienced in Access. Therefore I will go as simple as I can.
I have a table (say tbl_compsect) that I am keeping the sectors the companies operate in. I have five columns to keep sector information. Users update the company information from a form with comboboxes. Sectors are written with SectorIDs but to ease things, I will go with names. Here is how my table looks like:
CompanyID Sector1 Sector2 Sector3 Sector4 Sector5 1 Metal Pipe Cable 2 Auto Pipe Plastics 3 Mining Petroleum Haulier Auto 4 Plastics Spares Auto Cable Haulier
I'd like to sum up the sectors in the columns, so that I have the following information to use in the reports/export to Excel (in no particular order for now , but probably will sort by the sum in the future)
Metal:1
Pipe:2
Cable: 2
Auto:3
Plastics:2
Mining:1
Petroleum:1
Haulier:2
Spares:1
I'd like to know how to do that; to sum information by counting data from multiple fields.
Thank you for all your assistance in advance.
Tolga