Export Address Book Direct To Excel Just One Click
Export Address Book Direct To Excel Just One Click
Export Address Book Direct To Excel Just One Click
threads/export-address-book-direct-to-excel-just-
one-click.4936/
;;EXPORT ADDRESS BOOK DIRECT TO EXCEL JUST ONE CLICK
;;Triger Report;;
[Report : Debtors Collection]
Form : Debtors Collection
;;Final Report;;
[Report : Sundry Creditors]
Form : Sundry Debtors
Title : "Address Book"
Object : Group : ##SunCreditors
[Field:ASno]
[Field : APartyName]
Use : Name Field
Set as : $Name
Quick Search : Yes
[Field : AAddress]
Use : Name Field
Set as : $$FullList:LedAddressColl:$Address + $StateName + " " + $PinCode
Lines : 0
[Field : AContactPerson]
Use : Name Field
Set as : $LedgerContact
[Field : APhone]
Use : Name Field
Set as : $Ledgerphone
Max : 13
[Field : AMobile]
Use : Name Field
Set as : $LedgerMobile
Max : 13
[Field : AEmail]
Use : Name Field
Set as : $Email
[Field : APAN]
Use : Name Field
Set as : $IncomeTaxNumber
Max : 10
[Field : AVAT]
Use : Name Field
Set as : $VATTINNumber
Max : 11
[Collection : AddressBookColl]
Type : Ledger
Belongs To : Yes
Child Of : ##SunDebtors
Sort : @@Default : $Name
Fetch : Name, Address, Ledgerphone, LedgerContact, LedgerMobile, Email,
IncomeTaxNumber, VATTINNumber, STXNumber, CurrentTurnover, ClosingBalance,
StateName, PinCode
Fetch : AllLedgerEntries
Search Key : $Name
[Collection : AddressBookCredColl]
Use : AddressBookColl
Child Of : ##SunCreditors
[Style : Calbiri10]
Font : Calbiri
Height : 8
[Variable : SunDebtors]
Type : String
[Variable : SunCreditors]
Type : String
[Variable : Creditors]
Type : Logical
[System : Variable]
SunDebtors : No
SunCreditors: No
;;Print Button;;
[Button : Multi Address Print]
Title : "Print Address"
Key : Alt + F11
Action : Print Report : Address Print
Scope : Selected Lines
;;Printing Report;;
[Form : Address Book Print]
Part : Mobile Details, Address Details, My Logo Print, Address Bottom
Height : (##SVChqHeight + @@TopAdjustment - @@ChqTopClip) mms
Width : (##SVChqWidth + @@LeftAdjustment) mms
[!Form : AddLandscapeRight]
Horizontal Alignment : Right
Vertical Alignment : Bottom
[!Form : AddLandscapeCentre]
Horizontal Alignment : Right
Vertical Alignment : Centre
[!Form : AddLandscapeLeft]
Vertical Alignment : Top
Horizontal Alignment : Right
[!Form : AddAlignRear]
Delete : Horizontal Alignment
[!Form : AddPreprinted]
Delete : Local : Line : Address Book Print
Local : Line : Address : Space Bottom : 1
[Part : Mobile Details]
Line : Mobile Details
Space Top : .25
Local : Field : Name Field : Set as : if ##MailingName then $MailingName else ""
Local : Field : Name Field : Width : 35
Invisible : not ##MailingName
[Line : Address]
Right Field : Address
Space Bottom: if ##PreprintedEnv then 1.25 else .5
[Field : Address]
Use : Name Field
Set as : $Address
Line : 0
Width : 35
[Line : State]
Right Field : State
Space Bottom: if ##PreprintedEnv then 1.25 else .5
[Field : State]
Use : Name Field
Set as : $StateName
Width : 35
[Line : Pin]
Right Field : Pin
[Field : Pin]
Use : Name Field
Set as : $Pincode
Width : 35
[Part : My Logo]
Line : My Logo
Graph Type : ##SALogoPath
Height : 6
Width : 30% Page
Vertical : No
[Line : My Logo]
Right Field : My Logo
[Field : My Logo]
Set as : ""
;;Print Configuration;;
[Report : Address Book Confg]
Use : SV Print Configuration
Form : Address Book Confg
[Line : AddressPrntOrientation]
Field : Medium Prompt, Add Orientation, Add Orientation Save
Width : @@NameWidth - 2
Table : Orientation
Show Table : Always
Set as : ##CHQOrientationType
Set Always : Yes
Modifies : CHQ Orientation Type : Yes
No confirm : Yes
Full width : No
Full height : No
Space Right : 2
Space Left : 2
Background : @@SV_CMPCONFIG
;; Field Definitions
[Field: VerticalAddress Alignment]
Width : @@NameWidth - 2
Table : Alignment
Show Table : Always
Set as : If ##SVAlignment Then $$LocaleString:"Front" Else $$LocaleString:"Rear"
Set Always : Yes
Inactive : ##CHQOrientationType = $$LocaleString:"Horizontal"
[Collection : LedAddressColl]
Type : Address : Ledger
Object : StatePin
Fetch : MailingName, Address
[Object : StatePin]
Address : If $$IsEmpty:$$Owner:$StateName:Ledger:##SunDebtors AND $$IsEmpty:$
$Owner:$Pincode:Ledger:##SunDebtors Then "" +
Else If $$IsEmpty:$$Owner:$Pincode:Ledger:##SunDebtors Then $$Owner:
$StateName:Ledger:##SunDebtors +
Else If $$IsEmpty:$$Owner:$StateName:Ledger:##SunDebtors Then $
$LocaleString:"Pincode : " + $$Owner:$Pincode:Ledger:##SunDebtors +
Else $$Owner:$StateName:Ledger:##SunDebtors + " - " + $$Owner:
$Pincode:Ledger:##SunDebtors
[#Line: LV OpeningBalance]
Border : Thin Bottom
;; Formula Definitions
[System: Formula]
Portrait : $$LocaleString:"Horizontal"
LandscapeRight : $$LocaleString:"Vertical - Right"
LandscapeCentre : $$LocaleString:"Vertical - Centre"
LandscapeLeft : $$LocaleString:"Vertical - Left"
AlignFront : $$LocaleString:"Front"
AlignRear : $$LocaleString:"Rear"
[System : UDF]
IsAddressBookModuleOn : Logical : 1008
[Variable : MailingName]
Persistent : Yes
Type : Logical
[Variable : CompAddress]
Persistent : Yes
Type : Logical
[Variable : LogoPr]
Persistent : Yes
Type : Logical
[System : variable]
MailingName : no
CompAddress : No
Height Adj : No
Width Adj : No
PreprintedEnv : No
LogoPr : No