Hello,
I am unsure why my following code isn't working.
-----
Are you checking whether there are any records in related?
var related = FeatureSetByRelationshipName($feature, "ACProductsGroundwaterSamplingPoints_ACProductsQuarterlySurveyForm");
return IIf(Count(related) > 0, First(related)["WellID"], "No related records");
No, unfortunately that's not it. When I try to add a related record to the table using FieldMaps, it's still failing to calculate. Unfortunately FieldMaps does not provide very much in the way of error messages.