Dear all experts give me a solution In my invoice space top is 2.00 inch, its showing 1st page is in space top 2.00 inch and 2nd page also like 1st page.. I want to when its 1st page over then after all pages space top is 0.50 inch... Code: ;;;;;;;;;;;;;;;;;;INVOICE START;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [#Form : Sales Color] ;Delete : Print Add : Print : nInvA [#Form : Salesorder Color] Delete : Print Add : Print : nInvA ;[#Form: Delivery Note Color] ; Delete : Print ; Add : Print : nInvA [Report :nInvA] Use : Printed Invoice Delete: Form : Printed Invoice Form : nInvA [Form:nInvA] Width : 8.3 INCH Height : 11.5 INCH Space Top: 2.00 INCH Space Bottom: 0.25 INCH Space Left: 0.20 INCH Space Right:0.30 INCH Part: KA Opening Page Break, KA Invoice Body Bottom Part: KA Invoice Total, KA Goods Sold Page Break : ClKA Page Break, KA Opening Page Break [Part:ClKA Page Break] Lines : GIKA ClPgBrk [Line: GIKA ClPgBrk] Fields : Simple Field Local: Field: Simple Field : Set As : "Continued..." Local: Field: Simple Field : FullWidth : Yes Local: Field: Simple Field : Align : Right Border : Full Thin Top [Part: KA Opening Page Break] Part: KA Invoice Title, KA CMP Details, KA Coloumn Titles Vertical: Yes [Part:KA Invoice Title] Line:KA Invoice Title0,KA Invoice Title [Line:KA Invoice Title0] Field: Simple Field Local: Field: Simple Field: Align:Centre Local: Field: Simple Field: Set as:"GST REGISTRATION NO :"+$CMPGSTaxNumber+"," + "PAN No :"+$CMPItnumber +"," + "CIN No :"+$$LocaleString:"U74993MH2005PTC153950" Local: Field: Simple Fieldblank0: Width: 45% Screen Local: Field: Default : Style : Normal Bold Local: Field: Simple Field: Full Width: Yes Space Top:0.10 ;[Field: Simple Fieldblank0] ;Set as: "" [Line:KA Invoice Title] Field:Simple Field ;Right Field:Name Field ;Local: Field: Simple Fieldblank: Width: 45% Screen Local: Field: Simple Field: Set as: IF @@IsSales then "Tax Invoice" Else + IF @@IsSalesOrder then "QUOTATION" Else + IF @@IsDelNote then "DELIVERY CHALLAN" Else "" ;Local: Field: Simple Field: Set as: if @@IsCreditNote then "Credit Note" else "QUOTATION" Local: Field: Simple Field: Style: Pramod CMP Name Local: Field: Simple Field: Width: 55% Screen Local: Field: Simple Field: Align: Left ;Local: Field: Name Field: Set as:If @@GetCopyNum = 1 Then "" Else + ;If @@GetCopyNum = 2 Then $$LocaleString:"DUPLICATE FOR SUPPLIER" Else + ;If @@GetCopyNum = 3 Then $$LocaleString:"TRIPLICATE FOR TRANSPOTER" Else + ;If @@GetCopyNum = 4 Then $$LocaleString:"EXTRA COPY" Else $$LocaleString:"EXTRA COPY" Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Align:Centre ;[Field: Simple Fieldblank] ;Set as: "" [Style: Pramod CMP Name] Font: Arial Black Height:12 Bold: Yes [Part:KA CMP Details] Left Part: DMICash CMP Name Details Border: Thick Cover Height: 45 mms [Part:DMICash CMP Name Details] Line: KA CMP Name,KA Customer Name, KA Customer Address, KA Customer State Name, KA Customer GST No,KA Invoice No, KA Invoice Date, KA Customer Contact,KA Customer Subject Repeat:KACustomerAddress:PartyAddress ;Width: 59% Page Border: Thick Right [Line: KA CMP Name] Field: KA CMP Name Local: Field: KA CMP Name: Set as: "To,";@@CmpMailName Local: Field: KA CMP Name: Style:Parth CMP Name Cash Local: Field:KA CMP Name: Full Width: Yes Local: Field:KA CMP Name: Print FG : Black ;Local: Field:KA CMP Name: Print BG :Grey ;Local: Field: KA CMP Name: Border: Sub Column Titles Space Top:0.25 Space Bottom:0.25 [Field: KA CMP Name] Use : Name Field Set as : "" [Style: Parth CMP Name Cash] Font: Arial Black Height:12 Bold: Yes [Line:KA Invoice No] Field: Medium Prompt,Simple Field Local: Field: Medium Prompt: Set as: if @@IsCreditNote then "Cr.Note No :" else "Quotation No :" Local: Field: Medium Prompt: Width: 15 Local: Field: Simple Field: Set as: $VoucherNumber Local: Field: Simple Field: Style:Normal Bold Local: Field: Simple Field: Full Width: Yes Space Top:0.10 Space Bottom:0.25 [Line:KA Invoice Date] Field: Medium Prompt, Simple Field Local: Field: Medium Prompt: Set as: "Date" Local: Field: Simple Field: Style:Normal Bold Local: Field: Medium Prompt: Width: 15 Local: Field: Simple Field: Set as: $Date Local: Field: Simple Field: Full Width: Yes Space Bottom:0.25 [Line:KA Customer Name] Field: Simple Field Local: Field: Simple Field: Set as: @@SimpleOtherPartyName Local: Field: Default : Style :Normal Bold Local: Field: Simple Field: Full Width: Yes Space Top:0.25 [Line:KA Customer Address] Fields : KA Customer Address [Field: KA Customer Address] Use : Name Field Set as : $Address Full Width : Yes Style : Normal [Line:KA Customer State Name] Field: Simple Field Local: Field: Simple Field: Set as: "State Name"+" : "+ $LedStateName:Ledger:$LedgerName +" "+ "Code :"+" "+ $$getgststatecode:$LedStateName:Ledger:$LedgerName Local: Field: Simple Field: Local Formula:StateName : If NOT ($$IsEmpty:$StateName OR $$IsSysName:NotApplicable:$StateName) Then $StateName Else $LedStateName:Ledger:@PartyName Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style: Normal [Line:KA Customer GST No] Field: Simple Field Local: Field: Simple Field: Set as: "GSTIN No : " +" "+ $PARTYGSTIN:Ledger:$LedgerName +" "+" PAN No :"+" "+$IncomeTaxNumber:Ledger:$LedgerName Local: Field: Simple Field: Full Width: Yes [Line:KA Customer Contact] Field: Simple Field Local: Field: Simple Field: Set as: "Kind Attention :"+" "+ $$String:$MMSalesmanName Local: Field: Default : Style : Normal Bold Local: Field: Simple Field: Full Width: Yes ;Space Top:0.50 [Line:KA Customer Subject] Field: Simple Field Local: Field: Simple Field: Set as: "SUBJECT :"+" "+ $$String:$PartySubject Local: Field: Default : Style : Normal Bold Local: Field: Simple Field: Full Width: Yes [Part:KA Coloumn Titles] Line:KA Invoice Body Title Border: Thin Left Right Common Border: Yes [Part: KA Invoice Body] Part:KA Invoice Body Coloumns Border: ThiN Cover;ThiN Cover Vertical: Yes [Part:KA Invoice Body Title] Line:KA Invoice Body Title Common Border: Yes [Line:KA Invoice Body Title] Use: KA Invoice Body Coloumns Local: Field: Default: Type: String Local: Field: Default : Lines : 2 Local: Field: Default: Align: Center Local: Field:KA SrNo: Set as: "Sr No" ;Local: Field:KA SrNo: Print BG :Grey Local: Field:KA Item Description: Set as: "Particulars" ;Local: Field:KA Item Description: Print BG :Grey Local: Field:KA PKG : Set as : "PKG" Local: Field:KA PKG : Full Width: Yes ;Local: Field:KA PKG : Print BG :Grey Local: Field:KA GST : Set as : "%" ;Local: Field:KA GST: Full Width: Yes ;Local: Field:KA GST: Print BG :Grey Local: Field:KA HSN: Set as: "HSN" ;Local: Field:KA HSN: Print BG :Grey Local: Field:KA Billed Qty: Set as: "Qty" ;Local: Field:KA Billed Qty: Print BG :Grey Local: Field:KA Rate: Set as: "Rate" ;Local: Field:KA Rate: Print BG :Grey Local: Field:KA Per: Set as: "Per" ;Local: Field:KA Per: Print BG :Grey Border: Thin Top Space Top: 0.10 Local: Field: Default: Style:PMP Name Style [Style: PMP Name Style] Font: Cambria (Headings) Height:10 Bold: Yes [Part:KA Invoice Body Coloumns] Line:KA Invoice Body Coloumns Repeat:KA Invoice Body Coloumns:Inventory Entries ; Bottom Line: KA Invoice Body Coloumns Total Scroll: Vertical Float: No Common Border: Yes Vertical : Yes [Line:KA Invoice Body Coloumns] Left Field: KA SrNo, KA Item Description Right Field:KA GST,KA HSN,KA Billed Qty, KA Rate, KA Per Space Top: 0.25 Explode : Item Desc : $$NumItems:UserDescription > 0 ;;;$$NumItems is a used defned functions which can be ;;;used for counting purposes. It takes collection name as parameter Explode : Item Desc1 : $$NumItems:BasicUserDescription > 0 Border: Thin Top Local: Field:KA SrNo: Width: 4 Local: Field:KA SrNo: Border: Thin Right Local: Field:KA Item Description: Width:55 Local: Field: KA GST:Full Width:4 Local:Field:KA GST:Align:Centre Local: Field:KA HSN: Width:7 Local: Field:KA Billed Qty: Width: 7 Local: Field:KA Billed Qty: Border: Thin Left Local: Field: KA Rate: Width: 5 Local: Field: KA Rate: Border: Thin Left Local: Field: KA Per: Width: 4 Local: Field: KA Per: Border: Thin Left [Part: Item Desc1] Lines : Item Desc1 Repeat : Item Desc1 :BasicUserDescription [Line: Item Desc1] Field:KA SrNo, KA Item Description1 Local:Field:KA SrNo:Set as:"" Local:Field:KA Item Description1:Info:$BasicUserDescription ;Local:Field:KA Item Description1:Border : thin bottom [Field:KA Item Description1] Use: Simple Field Set as: $BasicUserDescription ;Style : Tiny Bold [Part: Item Desc] Lines : Item Desc,Itemdeskremark9,Itemdeskremark10 Repeat : Itemdeskremark9 : myudfs1 [Line: Item Desc] Field:KA SrNo, KA Item Description Local:Field:KA SrNo:Set as:"" Local:Field:KA Item Description:Info:"SPECIFICATION:";+" "+$BasicUserDescription Local:Field:KA Item Description:Lines:0 Local:Field:KA Item Description:Style:Normal Serif Bold Local:Field:KA Item Description:Border : thin bottom Local:Field:KA Item Description:width:14 Space Top:0.10 [Line: Itemdeskremark9] ;;Add : Option : MLK Item Desc9 : $$IsEmpty:$EXTRAREMARK3FIELD Field : IE SNoo9,IE Remark9 Invisible : $$IsEmpty:$EXTRAREMARK3FIELD [!Line : MLK Item Desc9] Add : Field : IE SNoo9,IE Remark9 [Field:IE SNoo9] Use : Short Name Field Set as : "" Border : Thin Left Width : 4 [Field: IE Remark9] Use : Name Field Set as :$EXTRAREMARK3FIELD Border : Thin Left Style : Normal Invisible : $$IsEmpty:$EXTRAREMARK3FIELD Full Width : Yes [Line: Itemdeskremark10] ;;Add : Option : MLK Item Desc10 : $$IsEmpty:$BasicNumPackages Field : IE SNoo10,IE Remark10 Invisible : $$IsEmpty:$BasicNumPackages [!Line : MLK Item Desc10] Add : Field : IE SNoo10,IE Remark10 [Field:IE SNoo10] Use : Short Name Field Set as : "" Border : Thin Left Width : 4 [Field: IE Remark10] Use : Name Field Set as : If $$IsEmpty:$BasicNumPackages then "" Else "No. of packages :"+ $$String:$BasicNumPackages Border : Thin Left Style : Tiny Bold Full Width : Yes [Field: Item Desc] Use : Name Field Width : 55 Indent : 8 Set as : $UserDescription Style : Normal Size : 4 [Field: KA Sr NO] Use: Simple Field Set as: $$Line Format: "No Zero" Style : Normal Bold Align: Center [Field:KA Item Description] Use: Simple Field Set as: $StockItemName Style : Normal Bold ;Border : thin bottom ;Full width :yes [Field: KA GST] Use : Name Field Set as : $GSTIGSTRate:StockItem:$StockItemName Format : "NoZero, Percentage" Border : Thin Left Align : Center Width : 2.5 [Field: KA HSN] Use : Name Field Set as : $GSTHSNCode:StockItem:$StockItemName Border : Thin Left Align : Centre Width : 7 [Field:KA Billed Qty] Use: Number Field Set as: $BilledQty Format : "NoSymbol" Align : Centre Width : 7 [Field:KA Rate] Use: Rate Price Field Set as: $Rate [Field: KA Per] Use : Name Field Set as : $BaseUnits:StockItem:$StockItemName Align : Centre Width : 4 [Part:KA Invoice Total] Left Part: KA Invoice Sing Off Border: Thick Box [Part:KA Invoice Sing Off] Part: KA Invoice Sing Off Part Vertical: Yes [Part:KA Invoice Sing Off Part] Left Part: nBankDetails Right Part: For KA Border: thick Top [Part:nBankDetails] Line:nInvBankNameLine [Line: nInvBankNameLine] Fields : Simple Field Local : Field : Simple Field : Set as :"NOTE :" +" "+ $$String:$RemarkFld Local : Field : Default : Style : Tiny Bold Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Line:0 [Part:For KA] Line: For KA, Bottom Line:KA Authorised Signatory Border: Thick Left [Line: For KA] Field: Simple Field Local: Field: Simple Field: Set as: " For " +" "+ @@CmpMailName Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style:Normal Bold Local: Field: Simple Field: Align: Right Space Top: 0.50 [Line:KA Authorised Signatory] Field: Simple Field Local: Field: Simple Field: Set as: "Authorized Signatory" Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style:Normal Bold Local: Field: Simple Field: Align: Right Space Top:2 Space Bottom:1.0 [Part:KA Goods Sold] Line:KA Juridiction [Line:KA Juridiction] Field: Simple Field Local: Field: Simple Field: Set as: "" Local: Field: Simple Field: Align: Center Local: Field: Simple Field: Full Width: Yes
In Form level Page Break : ClKA Page Break, KA Opening Page Break replace "KA Opening Page Break" with you new PART with 0.5 inch space top
Hey @Jenny tried this Space Top : 0.10 Inch Space Right : 0.10 inch Space Left : 0.50 inch Space Bottom: 0.10 inch