Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
46 views

Collection As Table

This document defines a report that displays collections as tables using variables to control which table is displayed. It contains definitions for collections to be used as tables, fields to select the table, and variables to store the table selection. Lines and fields in the report switch between tables depending on the variable values.

Uploaded by

Rishi Srivastava
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Collection As Table

This document defines a report that displays collections as tables using variables to control which table is displayed. It contains definitions for collections to be used as tables, fields to select the table, and variables to store the table selection. Lines and fields in the report switch between tables depending on the variable values.

Uploaded by

Rishi Srivastava
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

[#Menu:Gateway of Tally]

Add:Item: Collection as Table: Display:Exer Collection as Table

[Report: Exer Collection as Table]


Form: Exer Collection as Table
Title:"Collection as Table"
Variable : VchAsTableS
Set : VchAsTableS : Yes

[Form:Exer Collection as Table]


Parts:Form Subtitle, Exer Collection as table
Local:Field:form Subtitle:Info:" Usage of Collection as Table"

[Part:Exer Collection as Table]


Line: Exer Collection as Table, CollAsTable1

[Line:Exer Collection as Table]


Fields: Medium Prompt, CollTab1
Local:Field:Medium Prompt:Info:"Select an Item"

/*Local:Field:Name Field:Table:Exer Cat List of Ledger


Local:Field:Name Field:Show Table:Always
;;Local:Field:Name Field:Use:Name Field
Local:Field:Short Name Field:Set as:$$Table:Namefield:$PartyLedgerName
Local:Field:Short Name Field:Set Always:Yes
Local:Field:Short Name Field:Full Width:Yes*/

[Field: CollTab1]
Use:Name Field
Show Table:Always
Switch : Case 1 : CollAsTableS : ##VchAsTableS
Switch : Case 1 : CollAsTableW : ##VchAsTableW
Switch : Case 1 : CollAsTableA : ##VchAsTableA
Switch : Case 1 : ODBCAsTable : ##ODBCAsTable
Switch : Case 1 : XMLAsTable : ##XMLAsTable

[!Field: CollAsTableS]

Table : Vch CollectionS

[!Field: CollAsTableW]

Table : Summ CollectionW

[!Field: CollAsTableA]

Table : Summ CollectionA

[!Field: ODBCAsTable]

Table : ODBC Excel Collection : $


$NumItems:ODBCExcelCollection>0

[!Field: XMLAsTable]

Table : XML Table


[Line: CollAsTable1]

Fields : Long Prompt, CollAsTable1


Local : Field : Long Prompt : Set AS : "Corresponding Name
using $$Table :"
Local : Field : Long Prompt : Inactive : NOT ##VchAsTableS

[Field: CollAsTable1]

Use : Name Field


Set AS : $$Table:CollAsTable:$PartyLedgerName
Inactive : NOT ##VchAsTableS
Set Always : Yes

[Collection:Vch CollectionS]
Type : Voucher
Fetch : VoucherNumber,VoucherTypeName,PartyLedgerName,Amount
Format : $VoucherNumber, 10
Format : $VoucherTypeName, 25
Format : $PartyLedgerName, 25
Format : $Amount, 15

;;Sub Title: "Stock Item Name", "Stock Group", "Description", "Closing


Balance"

[Variable: VchAsTableS]

Type : Logical
Default : No

[Variable: VchAsTableW]

Type : Logical
Default : No

[Variable: VchAsTableA]

Type : Logical
Default : No

[Variable: ODBCAsTable]

Type : Logical
Default : No

[Variable: XMLAsTable]

Type : Logical
Default : No

[System: Variable]

VchAsTableA : No
VchAsTableW : No
VchAsTableS : No
ODBCAsTable : No
XMLAsTable : No

You might also like