You are currently viewing 3. TDLTutorial: Steps to Create TDL Program and Implement in Tally

3. TDLTutorial: Steps to Create TDL Program and Implement in Tally

  • Post author:
  • Post category:Learn TDL

Steps to create TDL program

  1. Open any ASCII text editor such as notepad, or use the IDE TallyPrime Developer.
  2. Create a new file
  3. Type TDL statements / TDL Code in the file.
  4. Save the file with a meaningful name and extension, as applicable to the editor. Save the file with an extension ‘. txt ’, ‘. tdl’ .
  5. Also can create a TCP file.

Ways to implement TDL code in Tally:

There are two ways of implementing the TDL code:

  • Specifying the TDL files in Tally.ini (Configuration Settings File)
  • Specifying the TDL files through TDL Management configuration in TallyPrime application.

How to implement TDL file in Tally.ini

The path of the TDL program has to be included in the Tally.ini file, using a parameter called ‘TDL’. If the parameter ‘User TDL’ is set to NO, TallyPrime will not read any TDL parameters specified in the Tally.ini file.


User TDL = Yes
TDL = <Path\filename> with extension


User TDL = Yes
TDL = C:\TallyPrime\MyReport.tcp


TDL = C:\TallyPrime\MyReport.txt

When TallyPrime starts, it looks for a file named ‘MyReport.tcp’ or ‘MyReport.txt’ in the directory C:\TallyPrime. On loading the default TDL files into memory, TallyPrime reads and loads every TDL file mentioned in Tally.ini into memory before displaying the first Menu, ‘Gateway of Tally’.

Tally.ini file in Tally installation folder

How to implement TDL file in TallyPrime Application TDL configuration screen

Alternatively, the TDL file name can be specified in TDL Configuration screen, by going to F1: Help then TDLs & Add-Ons and clicking on F4: Manage Local TDLs. In this screen, set the value as Yes for Load selected TDL files on startup and select filename from the respective folders of your system.

Implement TDL files direct in Tally

This Post Has One Comment

  1. Aksh

    Wow! Too good,
    Please make videos on TDL tutorial

Comments are closed.