Problem with the function for each
I have this code and I need you "for each i in input.R" run Only with Certain records, but when i keep the record is saved as "R" is not input. Then when i select That box Belonging to a subform, I changed all the fields INSTEAD OF only of the subform Those That are inside. (Including the data That Already Been HAD registered Earlier)
I have the same code and another field and in this if the input is saved. I do not get it.
if (input.Clientes1 != null)
{
if (input.Correo_Electronico != null)
{
for each i in
input.R
{
i.Ordenes = Clientes1[ID == input.Clientes1].Correo;
i.Nombre = Clientes1[ID == input.Clientes1].Nombre + " " + Clientes1[ID == input.Clientes1].Apellido;
}
}
}