Update the value of a subform a modification in the form.

Update the value of a subform a modification in the form.

Hi I have a form with a subform inside. I want when data is changed in a subform, automatically change some values.

input.Status is a value in a original Form

Registro_Mercancia Is a Subform
Status_pruebas is the value I need to be modified within the subform.


if (input.Status  !=  null)
{
    if (input.Registro_Mercancia.Status_pruebas  !=  null)
    {
        Status_pruebas = input.Status;
    }
}


Thanks!