Dear Friends, Below CostCentreColumnReport for your Reference to solve my Query: 1. Date change on one Column Company effect second column company (means date change effect placed on both column company) 2. while changing date to second company all data disappear. 3. when i enter on data lines it take action i.e. data disappear or etc (need it should be static report) Hope you will help, Thanks & Regards, Kapil [#Table: GTCommonReports] add: object: GTCCReport ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Object: GTCCReport] Use: GoToReport Obj Name: $$LocaleString:"CostCentre Report" Current Report: K004Report [Report: K004Report] Title: "CostCentre Report" Form: K004Form Use: DSP Template Variables: SVCurrentCompany, CostCentreName, SVFromDate, SVToDate set: IsCCReport: yes Filtered: Yes Export: Yes Repeat: SVCurrentCompany, SVFromDate, SVToDate Column Report: MyAutoMultiColumns Variable: DoSetAutoColumn, DSPRepeatCollection Set: DoSetAutoColumn : Yes Set: DSPRepeatCollection: "List of Primary Companies" set: SVFromDate: $BookFrom:Company:##SVCurrentCompany set: SVToDate: $$MonthOfDate:##SVCurrentDate ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Form: K004Form] Part: K004Part0, K004Part1, width: 100% page height: 100% page ;Button: F2ChangePeriod, button: ChangeCompany, K004ChangeCostCentre, ExportButton, MyAutoAutoButton Option: SetAutoOption: $$SetAutoColumns:SVCurrentCompany [!Form: SetAutoOption] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Key: K004ChangeCostCentre] Title: "Cost Centre" key: F4 Action: Modify Variables : Cost Centre Name ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Part: K004Part0] line: K004Part0Line0, K004Part0Line1, K004Part0Line2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part0Line0] Field : SimplePrompt, NameField local : field : SimplePrompt : SET AS : "Fund Type (GParent):" local : field : SimplePrompt : style : TinyBold local : field : SimplePrompt : width : 18 local : field : SimplePrompt : color : Blue local : field : NameField : Set as : $Parent:CostCentre:#SimpleField local : field : NameField : Style : TinyBold local : field : NameField : width : 40 local : field : NameField : color : red ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part0Line1] Field : SimplePrompt, SimpleField local : field : SimplePrompt : SET AS : "Funding Agency (Parent):" local : field : SimplePrompt : style : TinyBold local : field : SimplePrompt : width : 18 local : field : SimplePrompt : color : Blue local : field : SimpleField : Set as : $Parent:CostCentre:##CostCentreName local : field : SimpleField : Style : TinyBold local : field : SimpleField : width : 40 local : field : SimpleField : color : red ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part0Line2] Field : SimplePrompt, ShortNameField,; ShortPrompt, DSPMainDateTitle, local : field : SimplePrompt : SET AS : "Project (Name):" local : field : SimplePrompt : Style : TinyBold local : field : SimplePrompt : width : 18 local : field : SimplePrompt : color : Blue local : field : ShortNameField : Set as : ##CostCentreName local : field : ShortNameField : STYLE : TinyBold local : field : ShortNameField : width : 40 local : field : ShortNameField : color : red ; local : field : ShortPrompt : SET AS : "Period" + " : " ; local : field : ShortPrompt : style : TinyBold ; local : field : ShortPrompt : width : 10 ; local : field : ShortPrompt : color : Blue ; local : field : DSP MainDateTitle : align : left ; local : field : DSP MainDateTitle : color : red ; local : field : DSP MainDateTitle : Style : TinyBold ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Part: K004Part1] Line: K004Part1Line3 line: K004Part1Line1, K004Part1Line2 repeat: K004Part1Line2: K004Collection total: K004FieldAmount1, K004FieldAmount2 scroll: BOTH Common Border: yes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part1Line1] field: K004FieldSNo, K004FieldCode, K004FieldFT, K004FieldFA, field: K004FieldPR, K004FieldBL, K004FieldSBL, K004FieldSSBL, Field: K004FieldAmount repeat: K004FieldAmount Local: Field: Default: Style: TinyBold Local: Field: Default: Border: SubColumnTitles Local: Field: Default: LINE: 6 Local: Field: Default: align: Left Local: Field: K004FieldSNo: Info: "SNo" Local: Field: K004FieldCode: Info: "Code" Local: Field: K004FieldFT: setas: "Fund Type" Local: Field: K004FieldFT: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then if (#SimpleField contains "FC") or (#SimpleField contains "LC") then yes else no else yes Local: Field: K004FieldFA: setas: "Funding Agency" Local: Field: K004FieldFA: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then if (#SimpleField contains "FC") or (#SimpleField contains "LC") then yes else no else yes Local: Field: K004FieldPR: setas: "Project" Local: Field: K004FieldPR: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then no else yes Local: Field: K004FieldBL: Info: "Budget Line" Local: Field: K004FieldSBL: Info: "SubBudget Line" Local: Field: K004FieldSSBL: Info: "SubSubBudget Line" Local: Field: K004FieldAmount1: Info: $$LocaleString:"Nett Amount" + " || " + #SVCurrentCompany +" || "+ @@DSPDateStr Local: Field: K004FieldAmount1: align: center Local: Field: K004FieldAmount1: width: 14 Local: Field: K004FieldAmount1: Color: Red Local: Field: K004FieldAmount2: Info: $$LocaleString:"Test Field" + " || " + #SVCurrentCompany +" || "+ @@DSPDateStr Local: Field: K004FieldAmount2: color: Grey Local: Field: K004FieldAmount2: width: 14 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part1Line2] field: K004FieldTest1, K004FieldSNo, K004FieldCode, K004FieldFT, K004FieldFA, field: K004FieldPR, K004FieldBL, K004FieldSBL, K004FieldSSBL, Field: K004FieldAmount repeat: K004FieldAmount Local: Field: Default: border: Thin Left Right bottom Local: Field: Default: Style: Tiny Local: Field: K004FieldCode: Style: TinyBold Local: Field: K004FieldCode: color: Red local: field: K004FieldAmount: color: Blue removeif: $$NumChildren>0 key: Remove Line, Restore Line, Restore AllLines ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [line: K004Part1Line3] field: K004FieldTest1, K004FieldSNo, K004FieldCode, K004FieldFT, K004FieldFA, field: K004FieldPR, K004FieldBL, K004FieldSBL, K004FieldSSBL, Field: K004FieldAmount1 repeat: K004FieldAmount1 BORDER: SubTotals Local: Field: K004FieldTest1: Info: "" Local: Field: K004FieldSNo: Info: "" Local: Field: K004FieldCode: Info: "Grand Total:" Local: Field: K004FieldCode: style: TinyBold Local: Field: K004FieldFT: Info: "" Local: Field: K004FieldFT: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then if (#SimpleField contains "FC") or (#SimpleField contains "LC") then yes else no else yes Local: Field: K004FieldFA: info: "" Local: Field: K004FieldFA: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then if (#SimpleField contains "FC") or (#SimpleField contains "LC") then yes else no else yes Local: Field: K004FieldPR: info: "" Local: Field: K004FieldPR: invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then no else yes Local: Field: K004FieldBL: Info: "" Local: Field: K004FieldSBL: Info: "" Local: Field: K004FieldSSBL: Info: "" Local: Field: K004FieldAmount1: setas: $$Total:K004FieldAmount2 Local: Field: K004FieldAmount1: style: TinyBold Local: Field: K004FieldAmount1: color: Blue Local: Field: K004FieldAmount1: Format: "Bracketed:ForNegative,NoZero" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [field: K004FieldAmount] field: K004FieldAmount1, K004FieldAmount2 display: K004Report :$$IsCostCentre [field: K004FieldAmount1] use: Amount Field border: Thin left right bottom Format: "Bracketed:ForNegative,NoZero" Set As: If $$IsDr:$CCAmount Then $CCAmount Else -$CCAmount [field: K004FieldAmount2] use: Amount Field border: Thin left right bottom format: "DrCr" setas: $CCAmount invisible: yes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldTest1] use: NameField width: 10 border: Thin left right bottom setas: $MasterID invisible: yes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldSNo] Use : Number Field SET AS: $$LINE Width: 4% Screen Align: left border: Thin Left Right bottom ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldCode] Use: Name Field setas: if $$IsEmpty:$$StringWord:1@CodeSSBL = no then $$StringWord:1@CodeSSBL else if $$IsEmpty:$$StringWord:1@CodeSBL = no then $$StringWord:1@CodeSBL else if $$IsEmpty:$$StringWord:1@CodeBL = no then $$StringWord:1@CodeBL else "" width: 11 border: Thin left right bottom ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldFT] Use: Name Field Set as: $FTName width: 5 border: Thin left right bottom invisible: if (#NameField contains "FC") or (#NameField contains "LC") then yes else if (#NameField contains "") or (#NameField contains "Primary") then if (#SimpleField contains "FC") or (#SimpleField contains "LC") then yes else no else yes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldFA] Use: Name Field Set as: $FAName width: 30 border: Thin left right bottom invisible: if ($FAName = #SimpleField or $FAName = #ShortNameField) then Yes else NO ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldPR] Use: Name Field Set as: $PRName width: 30 border: Thin left right bottom invisible: if ($PRName = #SimpleField or $PRName = #ShortNameField) then Yes else NO ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldBL] Use: Name Field Set as: $BLName width: 35 border: Thin left right bottom ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldSBL] Use: Name Field Set as: $SBLName width: 40 border: Thin left right bottom ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Field: K004FieldSSBL] Use: Name Field Set as: $SSBLName width: 35 border: Thin left right bottom ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [system: formula] BelongToCC: $$IsBelongsTo:##CostCentreName AND $Name != ##CostCentreName FTName: if $CCDepth=1 then $Name else $Parent:CostCentre@FAName FAName: if $CCDepth=2 then $Name else $Parent:CostCentre@PRName PRName: if $CCDepth=3 then $Name else $Parent:CostCentre@BLName BLName: if $CCDepth=4 then $Name else $Parent:CostCentre@SBLName SBLName: if $CCDepth=5 then $Name else $Parent:CostCentre@SSBLName SSBLName: if $CCDepth=6 then $Name else "" CodeBL: $$StringFindAndReplace:#K004FieldPR:"-":"" CodeBL: $$StringFindAndReplace:#K004FieldBL:"-":"" CodeSBL: $$StringFindAndReplace:#K004FieldSBL:"-":"" CodeSSBL: $$StringFindAndReplace:#K004FieldSSBL:"-":"" Amount: $ClosingBalance-$OpeningBalance TFT: "Fund Type" TFA: "Funding Agency" TPR: "Project" TBL: "Budget Line" TSBL: "SubBudget Line" TSSBL: "SubSubBudget Line" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Collection: K004Collection] Type: CostCentre Fetch: MasterID, Name, OpeningBalance, ClosingBalance Filter: BelongToCC COMPUTE: CCDepth: $Depth:CostCentre:$Name Compute: HasChildren: $$NumChildren>0 compute: CCAmount: if not $HasChildren then @@Amount else 0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;End of Coding [Button: MyAutoAutoButton] Key : Alt+N Action : Auto Columns : MyAutoMultiColumns Title : $$LocaleString:"Auto Column" [Report: MyAutoMultiColumns] Title : $$LocaleString:"Column Details" Form: MyAutoMultiColumns [Form: MyAutoMultiColumns] No Confirm : Yes Full Width : No Space Right : 0.25 Background : @@SV_UNBLUE Parts : MyAuto MultiColumns Option : Small Size Form [Part: MyAuto MultiColumns] Lines : Form SubTitle, MyAuto MultiCompany, MyAuto MultiFromDate, MyAuto MultiToDate Local : Field : Form SubTitle : Info : $$LocaleString:"Column Details" [Line: MyAuto MultiCompany] Fields : Short Prompt, MyAuto MultiCompany Local : Field : Short Prompt : Info : $$LocaleString:"Company :" SpaceBottom : 1 Invisible : $$SelectedCmps = 1 [Field: MyAuto MultiCompany] Use : Name Field Modifies : SVCurrentCompany Table : Company Show Table : Always [Line: MyAuto MultiFromDate] Fields : Short Prompt, MyAuto MultiFromDate Local : Field : Short Prompt : Info : $$LocaleString:"From Date :" SpaceBottom : 1 [Field: MyAuto MultiFromDate] Use : Uni Date Field Modifies : SVFromDate Width : 9 [Line: MyAuto MultiToDate] Fields : Short Prompt, MyAuto MultiToDate Local : Field : Short Prompt : Info : $$LocaleString:"To Date :" SpaceBottom : 0.25 [Field: MyAuto MultiToDate] Use : MyAuto MultiFromDate Modifies : SVToDate