Oct 02, 2023 09:46 AM
I'm having trouble creating a Form that I can use for Performance Ratings, and having that Form's fields update the Record field for the table. I believe I might have this architected in not the best way. Let me explain below.
What is the best way to go about something like this?
Solved! Go to Solution.
Oct 02, 2023 01:04 PM - edited Oct 02, 2023 01:04 PM
I would set up 2 tables - let's call them Vendors and Reviews. In the Vendors table, I'd create a Linked record field to the Reviews table, and toggle on allowing multiple linked records. The 4 ratings fields you currently have in your Vendors table I would instead house in Reviews, so that you might have the following fields in the Reviews table:
You would make your form view in your Reviews table - this way when a manager fills out the form, they can select a vendor (from the "Link to Vendors" field) and will create a review. That review is parented to the vendor, and using a rollup field in the Vendors table of the linked Reviews field, you can do things like take the average of the ratings to create an overall vendor rating!
Oct 02, 2023 12:38 PM - edited Oct 02, 2023 12:39 PM
Form views create records of the same type into a table, and aren't meant to be used to update other records. It sounds like because your Form is a view in your vendors table, when filled out it will create a new vendor instead of a review.
What you might want to do instead is create another table for reviews that is linked and parented to the vendor records, and add your review form there. This will also be helpful if you anticipate multiple different managers leaving reviews on the same vendor. You can also create rollup fields in your vendor table to summarize performance ratings for each vendor!
Oct 02, 2023 12:47 PM
This makes sense - Any suggestion on something I can reference that shows this kind of setup? I'm understanding the general setup, but im getting my head stuck on some of the structure of this
Oct 02, 2023 01:04 PM - edited Oct 02, 2023 01:04 PM
I would set up 2 tables - let's call them Vendors and Reviews. In the Vendors table, I'd create a Linked record field to the Reviews table, and toggle on allowing multiple linked records. The 4 ratings fields you currently have in your Vendors table I would instead house in Reviews, so that you might have the following fields in the Reviews table:
You would make your form view in your Reviews table - this way when a manager fills out the form, they can select a vendor (from the "Link to Vendors" field) and will create a review. That review is parented to the vendor, and using a rollup field in the Vendors table of the linked Reviews field, you can do things like take the average of the ratings to create an overall vendor rating!
Oct 02, 2023 01:35 PM
This worked! Thank for your help.