I want to add a piece of code in the advanced post-search relations that does the following.
If the field in the RG IsNull, fill in the information with the instance above it. This is what I have so far but I am afraid I'm not coding it correctly/understanding the field.
if Regular.PageGroup1.Fields.Consumption.CurrentInstance.StartDate.IsNull then
Regular.PageGroup1.Fields.Consumption.CurrentInstance.StartDate.Value = Regular.PageGroup1.Fields.Consumption.Instance(1).StartDate.Value;
I'm getting an error "Left operand of '=' must be changeable"
Any help would be awesome!! thanks!!