I've been trying to hide column from a DB cross-tab in FastReport when the column header Value is 14001 ; but is not work down syntax !!!
Here's the code:
procedure DBCross2OnCalcWidth(ColumnIndex: Integer; ColumnValues: Variant;var Width: Extended);
begin
if (VarToStr(ColumnValues[0]) = '14001') then
Width := 0;
end;
Try add procedure trigged on print and collection HeaderValues[0]