Hi to all,

what is the code equivalent for

if ([FieldA] < [StartDate]) then
[FieldB].value=0
end if

[StarDate] is a Date parameter which i entered when the report is created
[FieldA] is a Date field
[FieldB] is a Number field

i want to insert this in the code builder to run before the report is created, so that it changes the results showed