Good afternoon everybody,
I am a newbie to the forum (1st post as a matter of fact) and also fairly new to access.
To explain my problem(s), let me tell you what I use my database for and what I am trying to achieve:
I am using the database to store information of the supply chain of our company. The company I work for is a fruit importer, so our supply chain looks something like this:
Growers --> Pack Sites --> My Company --> Retailers
We have several suppliers, each with one or more sites. For each supplier site, I store information relating to the commodities the site processes, the country the site is located in, which customer(s) each site is used for, etc.
I also track the Due-Diligence status of each site using the access database (e.g. has the site provided their reference number, have they shared the site's information with us, have they completed their questionnaire, etc).
Naturally, I am tracking the progress month-on-month. By "progress" I mean every month I track, how many sites have shared their information, have completed their questionnaire, etc. so that I am then able to make month-to-month comparisons.
I used to do all this in Excel but have now changed over to Access. To track the progress I have a table that I want to update every month for each of our three commodities (so 3 new rows each month) to track the progress. It looks like this:
Commodity Year Month (Numbr) Month (Text) Total Suppliers Compliant Suppliers Total Sites Sites that are linked online Sites with completed questionnaire Number of audits in last 2 years ... ... ... ... ... ... ... ... ... ... ST 2017 10 Oct 5 4 20 17 17 10 AV 2017 11 Nov 100 85 500 390 300 210 TF 2017 11 Nov 50 50 80 75 70 50 ST 2017 11 Nov 5 5 20 19 19 12
My question is, how can I create an append query (or even just a form) that allows me to easily update this table?
I struggle to do this in any way that is not completely manual due to several reasons:
- I can't figure out how to count unique entries based on commodities (e.g. how many suppliers/sites are there for the commodity AV)
- I can't work out what the best way is to do a count of compliant sites ("compliance" of a site in "tblPack_Sites" is based on information from table "001tracker..."
- I can't work out how to make all necessary values appear in one single query/form/report
The only thing I have managed so far (after hours of Google) is to do counts of the suppliers and sites by commodity by using a Totals query (but only ever got the result for one commodity, so would have to run three queries to get the results for each commodity individually. Also, I was unable to take these results and add them to a form).
Please see below the relationship structure of my database, to give you an idea of the database.
If you guys need more information, please ask and I will provide the info.
Any help would be very much appreciated.