We need some help figuring out how to edit a previously working solution to add a third source of data, and combine it all into a new table. This formula editing goes a bit beyond my capabilities. We currently have 3 source tables and one destination folder. Example shows Table names, Column Names and then data examples in italic):
DB Project
Project Name | Tasks (lookup to Tasks table)
*“New Candidate” | “Contact Candidate”, “Invite candidate”
DB Tasks
Task Name | Project (lookup to project name) | Description
“Contact Candidate” | “New Candidate” | “Description of task”
“Invite Candidate” | “New Candidate” | “Description of task”
DB Candidate
Name
“Thomas Hill”
DB New Tasks
Task Name, Project
The idea is to automate a process to look for new rows in “DB Candidate”. Then to create all the tasks of the project “New Candidate” and to put them in the “DB New Tasks” table with an appropriate Task name to separate all the candidates based on the name of the candidate. Like:
DB New Tasks
Task Name, Project
Task1: “Contact Candidate-Thomas Hill”, “New Candidate”
Task2: “Invite Candidate-Thomas Hill”, “New Candidate”
Task3: “Contact Candidate-Another Name”, “New Candidate”
Task4: “Invite Candidate-Another Name”, “New Candidate”
Previously we did this with a button opening av hyperlink with details of the “New Candidate” project in the DB Project table, writing a new project name in the form in “New Project Title” textbox and hitting the button. The tasks for the project would then be created in the new table with a new project name to diffirenciate between then. The code looks like this (run from within “DB Project”):
RunActions(
thisRow.Tasks.FormulaMap(
[DB New Tasks].AddRow(
[DB New Tasks].Prosjekt,thisRow.[New Project Title],
[DB New Tasks].Description,CurrentValue.Description
)
),
(
[DB Project].ModifyRows(
thisRow.[New Project Title],“”)
)
)
I don’t see a clear way of handling this. Would it be best to add an automation that checks for new rows? I do the new row check with a dummy column with a check mark set to true for all new items, and then check this column for edits. That works as a new row check, even though automation don’t have this function directly.
I could then run a button in the DB Project table as I’m used to, but I don’t understand how I would be able to pick up the “Name” of the added row in the “DB Candidate” table.
Anyone have an ide how to solve this?