kia ora
I have a form that displays currently selected item text as default (wanted)
Item (form) CurrentSelectedItem
Default (datacardvalue) setting parent.default
OnSelect opens a popup
OnSelect of the popup button it changes two variables UpdateContext({VAR_Status:"Pending", VAR_fill:Green})
I would like the default to be the 'CurrentSelectedItem' but on selecting a popup button the datacardvalue changes according to the value set by the button. I thought this would be a VAR_Status. But I cant seem to get these two working together
Is a 'variable' the right thing to use?
What am I missing here?
You could set the Default to VAR_Status then OnVisible of the screen with the form set VAR_Status to the CurrentSelectedItem.statusColumnName.Text. That way when you change it with your button it will change.
If Status is a Choice or LookUp column this needs to be done differently.