I have a series of parent/child combo boxes in an edit form. After much struggle I finally got them to behave the way I want them too. Here is how this looks.
- When the parent is changed the child is set to blank
- If the parent is not changed the child shows the Parent.Default value if there is one.
UpdateContext({varResetSubLedgerReview: false});
UpdateContext({varResetSubLedgerReview: true});
If(varResetSubLedgerReview,{Value: Blank()}, {dk_subledgername: Parent.Default})
varResetSubLedgerReview
Sort(Filter('Cost Center Sub Ledgers', 'Cost Center Name' = CB_CostCenterReview.Selected.'Cost Center Name'), 'Sub Ledger Name', SortOrder.Ascending)
[1,2,3,4,5,6]
"(P)Email Sequence: " & DC_EmailSequenceNumberReview.Default
If(varResetEmailSequenceReview,{Value:Blank()}, {dk_emailsequencenumber: Parent.Default})

Report
All responses (
Answers (