Hi all! Forum noobie/lurker, so if this is the wrong sub, apologies in advance. Just point me in the right direction.
I'm currently implementing my first Access DB as an internship 'capstone' of sorts-- trying to accomplish the following for my company's Production Planning department:
--I want planners to be able to view their missed POs, edit them (adding a delinquency code, missing matl #, and notes) and upload them into a Root Cause table so that I can perform top-down analysis on what is causing missed orders in the plant.
1. SAC (SAP Analytics Cloud) raw data of missing/backlogged production orders is pulled and uploaded into a PP KPI Database. Completed
2. Data is filtered, and assigned to a value stream (and thus, a production planner) based off of production supervisors (a 3 character code, ie. V21, C02, A11). Completed.
2a. This data is a combination of a Backlogfile and a DR file. Because of this, data needed to be matched up based off a combination of sales orders & line items to eliminate repeat items.
2b. There is a possibility of a PO existing in both backlog and DR, so I used joint fields, SOLI_B and SOLI_DR, to identify them-- in other words, if two records have the same SOLI_B and SOLI_DR, they will combine into a single row of data. Others that don't have matching fields will either have an empty SOLI field, either B or DR. This does not matter.
2c. This was accomplished using SQL
Code:
[Daily DR].[Sales_doc] & '-' & [Daily DR].[Sales_item] AS SOLI_DR, [Daily Backlog].[Sales_doc] & '-' & [Daily Backlog].[Sales_item] AS SOLI_B
to concatenate the fields.
3. Those queries pulled and matched the data, as well as uploaded them into a new table, (ValueStream)_Workspace. This was only done because you cannot edit in queries that pull data from multiple tables. A production planner would run each PULL query, edit in the WORKSPACE, and use a final query, (ValueStream) UPLOAD, to upload their edited data into a Root_Cause table. Completed.
I have the first three steps complete, but do not want planners to have to run 3 queries manually as well as have the ability to work in other planners' sections on accident.
Here is where I ran into my biggest roadblock yet, and where I come to you for support:
I am trying to create a dashboard (form) to have planners enter in their Value Stream from a combo box, enter some optional data into different filter fields, and have multiple queries run at the click of a button. Unfortunately, I am a noobie at all things forms, reports, VBA, etc. I'll attach some documentation on what I want done, but am having a lot of issues getting any code I write to work.
Is there an easier way to accomplish what I'm trying to do? I'm sure there are about 60,000,000 facets within this DB that do not follow best practice. I'm learning on the fly.
Thanks in advance!