Action - Load TDL
An Action ‘Execute TDL’ was introduced in Release 3.6 to load a TDL dynamically, execute some action, and then unload the TDL or keep it, depending on the Logical Value. With this Action, the TDL would get loaded. However, the execution of action was mandatory. In Release 4.8, an action ‘Load TDL’ has been introduced to load the TDL/TCP dynamically for only the current session of Tally. However, if the TDL File is already loaded due to being specified in Tally.INI, or through previous execution of the Action ‘Load TDL’/‘Execute TDL’, it will not be loaded again. On closing the current session of Tally.ERP 9, the dynamically loaded file(s) will not be available for the subsequent Tally Session.
Syntax
LOAD TDL : TDL/TCP File Path Expression
Where,
TDL/TCP File Path Expression evaluates to the path of the TDL/TCP File to be loaded
dynamically.
Example:
[Button : Load Dynamic TDL]
Key : Alt + L
Action : Load TDL : @@TDLFilePath
[System : Formula]
TDLFilePath : “C:\Tally.ERP9\TDL\Samples.tcp”
In this example, on triggering the button ‘Load Dynamic TDL’, the action ‘Load TDL’ loads the TDL from “C:\Tally.ERP9\TDL\Samples.tcp”. If this TDL is already loaded due to being specified in Tally.INI, or previous execution of the Action ‘Load TDL’, then the same will not be loaded again.
An Action ‘Execute TDL’ was introduced in Release 3.6 to load a TDL dynamically, execute some action, and then unload the TDL or keep it, depending on the Logical Value. With this Action, the TDL would get loaded. However, the execution of action was mandatory. In Release 4.8, an action ‘Load TDL’ has been introduced to load the TDL/TCP dynamically for only the current session of Tally. However, if the TDL File is already loaded due to being specified in Tally.INI, or through previous execution of the Action ‘Load TDL’/‘Execute TDL’, it will not be loaded again. On closing the current session of Tally.ERP 9, the dynamically loaded file(s) will not be available for the subsequent Tally Session.
Syntax
LOAD TDL : TDL/TCP File Path Expression
Where,
TDL/TCP File Path Expression evaluates to the path of the TDL/TCP File to be loaded
dynamically.
Example:
[Button : Load Dynamic TDL]
Key : Alt + L
Action : Load TDL : @@TDLFilePath
[System : Formula]
TDLFilePath : “C:\Tally.ERP9\TDL\Samples.tcp”
In this example, on triggering the button ‘Load Dynamic TDL’, the action ‘Load TDL’ loads the TDL from “C:\Tally.ERP9\TDL\Samples.tcp”. If this TDL is already loaded due to being specified in Tally.INI, or previous execution of the Action ‘Load TDL’, then the same will not be loaded again.
Skip to main content