Control to Check that number of Farms holder owns must equal the count of the Farm ID for the Holder
Posted: May 18th, 2020, 12:05 pm
Please CSPRO Community,
I need help in building a control that can check that the number of farms of any given holder is equal to the count of the IDs assigned to those farms. For instance if a farmer has 4 farms and the IDs assigned to each farm must equal the count of the sequentially numbers 1,2, 3, and 4. Or alternatively, is it possible to generate these farm ids directly from the number of farms for any given holder.
In the attached application, I want a consistency check between NFields and Field_ids for any holder. So, if a holder has 3 farms the field_ids must not exceed 3 or can't be less than 3 for the given hold. Attached is the application am trying to build.
I need help in building a control that can check that the number of farms of any given holder is equal to the count of the IDs assigned to those farms. For instance if a farmer has 4 farms and the IDs assigned to each farm must equal the count of the sequentially numbers 1,2, 3, and 4. Or alternatively, is it possible to generate these farm ids directly from the number of farms for any given holder.
In the attached application, I want a consistency check between NFields and Field_ids for any holder. So, if a holder has 3 farms the field_ids must not exceed 3 or can't be less than 3 for the given hold. Attached is the application am trying to build.