I am not the most proficient at forms, and I feel in my bones there is an easier way to do this.
FD has requested a form so they can stop hand-filling out cleaning supplies for each of their 17 fire stations. The DC in charge of this also wants to see each order by station and what quantity of each they are ordering. We designed the DB to have each "order" have the 50 cleaning products as a column, and the idea was to simply have the number requested put in the column, and then I can create a word merged document to send to the cleaning company via email.
To make it easier (I thought) we created a table that had all products listed so Forms could simply load the products into a table so the fire fighters can simply put in a number and hit submit. The only way I have found workflow to grab the number of the requested items, is to do a For Each Row with a conditional decision embedded so that as each value is "read" by the For Each Row, it sorts the number requested into the correct column. If I do it this way, I will have 50 conditional evaluations by the workflow engine.
It seems really inefficient. Is there an easier way to grab the rows and insert them, en-masse, into the DB. A "blob" insert if you will, with the values going into their respective columns
Thank you in advance, feel free to flame for my inefficient method- I strive to grow with this software.
User Form loading a read-only inventory table from SQL and diplaying row by row:
Workflow that grabs For Each Row from the table, evaluates based on current value what product it is and then inserts that value into the appropriate column (x50 times once I write the workflow out to completion)
Current end result: