Hi all! Hopefully someone can assist me with my problem.
I am creating an app that helps track items found in a game in order to complete various missions. These are the tables I am using:
MISSIONS - This is the main table where I record various missions, ie Mission Name, Date Added, etc
MISSION ITEMS - Table where each record is a unique item, and has fields such as qty required, qty found, qty pending. When shown as a child table on the MISSION view, the qty for each item seen is the qty pending field, essentially showing the remaining items needed.
ITEM - Just a reference table of each unique item in the game
NEEDED ITEMS - Since some missions have overlapping items/qty, this table records the highest qty of each item, giving me an overview of all the items I need.
GAME LOG - Each record is a game played
GAME LOG ITEMS - each record is an item/qty recovered from the game. Currently, it also updates the NEEDED ITEMS table by first capturing the total needed at time of record creation, deleting row on NEEDED ITEMS, and adding a new row with current total, until qty of item on NEEDED ITEMS is 0.
I need some sort of action or automation when a record is created on GAME LOG ITEMS where it will update the qty found field on the MISSION ITEMS table, and then refresh the MISSIONS table so when a mission is viewed, it shows the updated quantities need for each item. I have attempted to create an action to do this, but can only see how to add/delete rows, and not edit particular columns within a row. I saw that maybe input() might be an avenue, but I do not really understand how it is used, and how it may be applied to my project.
Any help or suggestions regarding this problem will be very much appreciated!