How to limit picklist in a Subform record when editing
The following code restricts picklist entries while adding a new record to a Subform, but
when editing a record in a subform,
how do I restrict picklist entries to the relevant ones?
- Denominations
- (
- displayname = "12. Denominations Represented (Dénominations)"
- type = grid
- values = Denomination_Sub.ID
- width = 200px
- on add row
- {
- row.Country = input.Country;
- denomlist = Denominations [Country == input.Country] sort by Denomination_Name ;
- clear row.Denomination;
- row.Denomination:ui.append(denomlist.Denomination_Name.getall());
- }
- )