Thank you, I will test this out today.
At the moment it is just one-to-one but I think I will be adding more child tables - one of which will be “events” using an imported google calendar db. (side note, I am doing that because I have found no way yet to display more than one field in different colours on the monthly display in Appsheet’s calendar). There will be a 3rd child table for data which is very unique to each individual parent order, such as year built, inside and outside measurements, selling price.
I thought separate childs would be helpful because after an order is complete, each parent is migrated to one or more archive tables - for research, and some of those destination tables don’t require saving all of the data collected. e.g. the data concerning the scheduling of appointments and communication with clients is not needed when searching past orders based on location or price range, but still needs to be saved from an admin point of view. The app is a work in progress. The client adds new fields regularly. I am forever updating the actions that copy the rows to the various archive tables. Right now, if it was all in one table, it has 120 columns and I haven’t yet added in the automated messaging to customers.
We are only at about 4000 records right now x eventually 150ish columns, and I am really not sure at what point the columns x records may slow things down. We add from 400-1000 new records a year. I want to consider efficiency - we have the daily use of the active records for scheduling, route planning, communication, billing, etc. vs preparing the researched reports for the customers which means searching our archived records and using the data saved from archived reports.
Do Refs between tables slow things down or speed things up?
Basically, when I came to this job, the app was already started. Some of the table structure was already in place, such as having 3 tables, one for current, one for archived, and one for cancelled orders - where I personally would have stored it in one table with a status field to filter that. My client is concerned about speed.
I would be VERY pleased to learn that I am wasting my time chunking it up. If you think the functioning of the app wouldn’t be impacted by keeping everything in fewer tables, that would definitely make my life easier, to drop some of the more challenging Refs, and I could move on to other projects!
Again I have included so much info, apologies.