I’m brand new to AppSheet, and I’m trying to build an app that would create a form with several tables:
Worker Name and their hours (so a list that can be input with a column for their name and one for their hours)
Materials with name/type and quantity
Equipment with name/type and quantity
I am working from a Google Sheets doc with the underlying data for now, but I’m open to any option that will work. Really the main goal is for this to produce a PDF form that can be saved to be printed and signed.
HI,
What you’re describing is a parent record with child lists - basically a job docket. This is the standard way to build it:
- Make 4 sheets/tables: Reports (one row per form - date, job, signature), Labour (Report ID, Name, Hours), Materials (Report ID, Item, Qty), Equipment (Report ID, Item, Qty).
- In each child table, set the Report ID column to type Ref pointing at Reports, and tick “Is a part of?”. Now when you fill in a Report, the form shows Labour, Materials and Equipment as lists you can add rows to right inside the same form.
- Add a Signature column to Reports if you want it signed on the phone, or leave space on the PDF to sign on paper.
- For the PDF: Automation > new bot, event “Adds only” on Reports, task “Create a new file” with a Google Doc template. In the template use <<[Date]>> etc. for the report fields, and a table with <<Start: [Related Labours]>> … <> to list the child rows (same for Materials and Equipment). Set the file type to PDF and it saves to Drive, or you can email it.
Build it with 2-3 test rows first and check the PDF before adding more fields.