Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoYou can create a formula field to concatenated the fields together, separated by, say, a hyphen.
Then use a summary report to summarize on that field and you will have a list if Unique Parent records needing to be created.
then use the More .. button to copy these to another table (which you will previously have set up) and copy them across.
You can then use an Automation to trigger when. A child Record is created with no Parent, to create the parent, and safety net that with an overnight Subscription report of orphans.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
Then use a summary report to summarize on that field and you will have a list if Unique Parent records needing to be created.
then use the More .. button to copy these to another table (which you will previously have set up) and copy them across.
You can then use an Automation to trigger when. A child Record is created with no Parent, to create the parent, and safety net that with an overnight Subscription report of orphans.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- OanaWhalen6 years agoQrew CadetInteresting, I think the concatenation and summarizing of fields is the key I was missing here. Is there a way to automate creation of fields in a child table based on the values of a summary field in the parent table? I will be running this process dozens of times and I would love to avoid the manual copy to the other table.
Essentially what I am doing is collecting data for inspections at a bunch of buildings. Here's the process I'm envisioning:
- I will import our csv of raw data for a building into a Raw Data table and have that data be automatically assigned to that building (I've done that part before).
- Upon import of the csv file, formulas will automatically run to concatenate the match fields and be summarized into a single field in the Building (parent) record.
- ***For each of the unique concatenated values, create a record in a Conditions (child) table under this Building (parent) table.**** (This is the part I'm not sure how to do)
- Automatically assign Raw Data records (child) to the appropriate Condition (parent) record based on the value in that concatenated field. I can probably use the concatenated value as a key field in the Condition table to make this assignment step happen automatically.
- Repeat for a different Building with it's own completely separate groupings. Even if the concatenated values match those of another building, they need to be separate Condition record. I think that part I can handle by also concatenating a Building ID value into the string.
------------------------------
Oana Toma
------------------------------- MarkShnier__You6 years ago
Qrew Legend
If you include the building onto the concatenated string, why will you need to do this multiple times? Why not just import all your data into the details table and then make the formula for the concatenated string. If different buildings require different strings formulas, then build that logic into the string formula.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- OanaWhalen6 years agoQrew CadetSorry, left out an important detail. The data will be imported at different times for each building. We need to do an inspection, process the data, and issue a report while still inspecting other buildings. So it's more of a workflow issue to not have to do that manual copy 70+ times.
------------------------------
Oana Toma
------------------------------