i think you have to modify this line of code to be like :
- Code: Select all
if Assigned(DataLink.Field) and ((DataLink.Field is TAggregateField) or not DataLink.Field.IsNull) then
if Assigned(DataLink.Field) and (Not (DataLink.Field is TAggregateField) or not DataLink.Field.IsNull) then
just add " Not " before aggregate condition
i have not tested, bcz my i can not add sourcecode to Library Path, bcz my License has expired
best regards