I know that a "file or picture" field is string type.

I know that a "file or picture" field is string type.

Hi,

I know that a "file or picture" field is string type. I know that it's default value is "" on every case except "on Delete" only then is "null".

Please, trust me, I am not making you waste time.
I executed this function to populate a few records' "Decision box" field.








    for each r in Buscar  [Propiedad == "Terreno"]
    {
            r.FFF1 = true;
    }




The result was that all the "Decision box" fields displayed true. This is correct.

Then I executed this fuction to update some of this fields.
Only records without a picture on Foto_1 "file field" will display false.

    for each r in Buscar  [Propiedad == "Terreno"]
    {
        if (r.Foto_1  ==  "")
        {
            r.FFF1 = false;
        }
    }

The result is only some of the fields, that should display false, display it.

I used this procedure as a test.

Can you help me?
Regards,