you can watch the video and skip reading however reading will also helpful to you.
Hello world is the first ever tutorial lesson to learn Any programming languages. You learn HTML, JAVA, PHP or even Tally TDL almost 90% tutorials will teach you the first tutorials which will print a line on the screen with ” Hello World” So, we will also write our TDL lesson which will print in your Tally screen ” Hello World ”
So, open Tally developer Now.
first thing first. We simply don’t want to print the sentence hello world to anywhere. We want to add a new report in the main menu of Tally
So, what we need is to add a new report for this purpose we will amend the definition of the Main Menu reports
# symbol is used to amend any existing definition of Tally TDL. Remember you can use the # symbol only if a definition is already existed in the Tally.
So the thumb rule is that # prefix to a definition is a modifier symbol
Now, our first code of line will be as
[#Menu:Gateway of Tally]
Here we use # symbol to amend the definition of the Menu Item.
Gateway of Tally is the default menu report in Tally.
Now we need to add codes what we need to amend to the Gateway of tally so, our next coding line will be:
add : Item : Hello TDL : Display : My Hello TDL Report
Here we are specifying add command which tells the Tally compiler that we want to add something so we put Add keywords then we specify what we need to add in our codes
Key item refers to the item name which we want to add
H refers to short command you can specify any other keyword of your choice. Just take care that you don’t use any existing shortcode like V which is already used for Voucher entry, B for balance sheet etc
Then display refers what report to be shown to use. Here we are specifying a new report My Hello TDL when the user clicks this new menu item it will show him the a report namely My Hello TDL
Now we have added a new report in the main menu however we haven’t defines the report what this report will contains We only named it as My Hello TDL so, let’s have fun with our new report
write in your program editor below line of code
[Report: My Hello TDL Report]
Form : My Hello Form
Here we wrote 2 lines. First line defines our newly created report name that is hello TDL Report and second line we added a form namely My Hello Form. Again you can name your form anything you like. For e.g. you want to name your form as “ NewForm “ then you can do so without any issue.
Now, we need to define a form and then need parts to a form. A form must have parts and parts must have lines hope now you are getting the basic ideas of a TDL program structure
so, write below lines of codes
[Form : My Hello Form]
Part: My Hello Part
[Part : My Hello Part]
Line : My Hello Line
Now we are in the last stage of our first coding program in Tally TDL
Line must contain a field and field is where the actual data or things we need to show
so, let ’s rewrite the line definition again
[Line : My Hello Line]
Field : My Hello Field
[Field : My Hello Field]
set as : “ Hello, Mahendra. Welcome to the Tally TDL world “
save this file as hello.txt
The Ultimate complete code will look like this one
;; We are adding fields to the lines.
;; This is data which will be shown in Tally in our new report
now, activate the Tally TDL and see the result it should show in the Tally as per the below screen shots
To activate your TDL in Tally, go to main menu, then press F12,
Then go to Products & Feature Option.(Shut cut command is T)
Now, Press F4
Set yes to enable TDL
Now specify the file path as per the below image :


Once you hit that HelloTDL or just press H you will find the next screen as below :
If, your screen shows exactly same then your code is perfect and it refers that you learnt your first TDL program successfully.
Exercise
Excise makes the learning perfect. Let’s play some coding for fun.
Write a Tally TDL which displays the field text as “ I am learning Tally TDL
Report name should be HelloReport
Form Name should be HelloForm
Field name should be MyTextfld
prepare this TDL and save in the shared dropbox for my review mention your name and your mail id in the beginning of the TDL so that I can identify who has prepared the TDL
in Tally TDL, put ;; put as a symbol before any line so that it will be counted as a comment.
For a better understanding, watch the below video it will give you a clear Idea
If you face any issue, then post your code in the comment section
84 thoughts on “Hello TDL : Our First full fledged Tally TDL”
Leave a Reply
You must be logged in to post a comment.
I am attaching my codes which gives eror :
Error T0001
could not find the file “hello.txt”
;; Name : Hanif Shaikh
;; E-Mail : hanifshaikh@yahoo.com
[#menu:gateway of tally]
Add: Item: My Hello Tdl: Display: My Hello TDL
[Report: My Hello TDL ]
Form: My HelloForm
[Form: My HelloForm]
Part: My HelloPart
[Part: My HelloPart]
Line: My Hello Line
[Line: My Hello Line]
Field: My Hello Field
[Field: My Hello Field]
set as: “Hanif is Learning Tally TDL”
Hello guys,
I will be discharged from hospital on Thursday
So, please wait for 2 more days I will resolve all queries once I discharge
Hanif open the file in notepad and save as different file name hello1.
In filename text box don’t type .txt extension. you must enter only hello1
in the file type select Text Documents(*.txt).
Sir I have tried My Hello World, but message is not appearing.
I have save my file in Dropbox, named Bhavin Vora – Mumbai \ Hello World.txt
Don’t worry, Will check that. Sorry was absolutely busy
Hello Bhavin,
I checked your code and it is working fine without any issue. Looks like you had not activated your TDL and if you had activated it, you may need to refresh your TDL
Please contact me over WhatsApp tomorrow morning so that I can help you in activating, refreshing the TDL with your Tally.ERP 9 software
can i see ur tdl program
Hi If you are facing any issue please msg me in WhatsApp or in Zopi chat so that I can undersatnd it and can help you. All students who have joined Dropbox their codes are in their name folder and you can access codes of each others. if a student has not joined the Dropbox then you can’t access their codes.
Thanks Sir, now it’s working fine.
Sir I tried to do exercise but i am getting error T0008: could not find original description for report – “Hello Report”
Hello Bhavin
$Symbol is a modification attribute of an existing definition
Not every definition can be an existing definition in our exercise
Please go through the chapters carefully and follow them line by line
you can’t put # before every definition
in our exercise we are modifying only existing definition is the #Menu : Gateway of Tally so it will fetch the #symbol
but then rest of the definitions are new newly defined
so, please remove the #symbol from rest of the definitions and I suggest you please go through the chapters carefully
Dear Sir,
I did not get message on my tally so please check this code not tell me what wrong with this code . please check drop box and guide me (screenshot)
code is:
[#Menu:Gateway of Tally]
Add:Item:My Hello TDL:Display:My Hello TDL Report
[Report :My Hello TDL Report]
Form:My Hello Form
[Form:My Hello Form]
Part:My Hello Part
[Part:My Hello Part]
Line:My Hello Line
[Line:My Hello Line]
Field:My hello Field
[Field:My Hello Field]
”Hello,WELCOME TO RELIABLE INSUPACKS”,,
u are not mentioned the key for display the field, add item any alphabet in before display command with colon symbol befor & after the alphabet
It is not mandatory to do so. first purpose is to get ourselves familiar with the new coding so one step at one time we have to learn very basic things in starting and not everything.
If your code ae not working then let me know.
use set as:”your comment”
Dear Mahendra,
I have tried several times but i am getting the same error T 0001: could not find the file.
The code which i used is :
[#Menu:Gateway of Tally]
Add: Key Item : HelloTDL :H: Display : My Hello TDL Report
[Report : My Hello TDL Report]
Form: My Hello Form
[Form: My Hello Form]
line: My Hello line
[Line: My Hello Line]
Field: My Hello Field
[Field: My Hello Field]
set as “Hello, Murshid. Welcome to Tally TDL World”
Please advice on this?
Hi, My self Ramesh Parmar I have tried Exercise TDL and loaded the same but it is showing description error. I have added TDL file dropbox pl check and confirm
Hello Ramesh
You have added a report name : Hello TDL report in the main menu
However you had defined a Report with the name as ” hello Report
So, please correct the name and test it again.
Your definition type and definition name must be the same
Sir
i am not able to load TDL pls advice me how can create TDL
thanks
DIXIT
Hello
Please follow this chapter carefully
You need to create a new file in the Developer (Don’t write your code in the Notepad
In the above chapter, there is a video tutorial also available.
Create a new File and write code in that file and save that file in D Drive
once you complete the code, Right click the bottom file name as shown in the video
Copy the file path and then go to Tally
Main Menu
F12
Product and features
F4
in the path just paste the file path
and hit enter
Alternatively, please be online and give me the Teamviewer
Though the chapter and the video are self-explanatory and almost all the students have done that without any issue.
[#Menu:gate way of tally]
Add:Item:hello tdl:Display:HelloReport
[Report:HelloReport]
Form:HelloForm
[Form:HelloForm]
Part:HelloReport
[Part:HelloReport]
line:HelloReport
[Line:HelloReport]
Field:MyTxtfld
[Field:MyTxtfld]
Set as:”I am learning Tally TDL”
;;end of file
ankit kumar singh
Good One.
Giridharan varadharajan
My First TDL codes are in drop box.
for your evaluation
Regards
Giridhar.V.R
Hello,
You do not have to share your files with me.
I have sent you an invitation for the Dropbox Folder. you need to accept that invitation.
Once you accept the invitation, it will add more than 200 students folders in your system
Out of that, one folder is in your name.
Just put your files in that folder and It will be synced to my system immediately.
what is default & simple field shown in the Tutorial Video ??
Simple Field is the name of the existing Field in the Tally TDL
Default is something different.
If we want to apply some settings to every fields within a line we use the default key word.
I suggest you write the code rather then trying to understand.
Because TDL is more about writing codes and not to understand them.
If you write and test your code, you will have a better idea.
Sir when I add path in Tally it shows error message T0001.Let me know why this happens Sir.
Hello Ashok,
Error number are not helpfull to understand an issue.
You should quote the full eroor description of the error.
Those errors are not going to kill us in anyways. So whenever there is an error read it in full and post the full description.
Most of the errors are self explanatory and it doesn’t need an expert knowledge to solve them.
So, test it again and do let me know the full error description.
Uploaded the hello tdl
why we using ;; This Symbol in any line
; is symbol of of disabling the codes means whatever you write after the symbol ; won’t have any effect in our code. it will be totally ignored.
Actually it is ; and not ;; but as a fact of habit, I use it ;; it’s a personal choice.
Generally it is used to disable any code or to put comments in our codes.
And also you will find a separate unit about commenting the codes.
I have dropbox. Please send me link where I can save code.
Manish Ojha
8275058999
Please send me link for your account. I have already dropbox in my laptop.
Manish Ojha, 8275058999
i had upload this unit assignment in drop box
;; NAME : SHIV NARAYAN SHARMA
;; EMAIL : ewsbhl@gmail.com
[#Menu : Gateway of Tally]
Add : Item : Hello TDL : Display : Hello Report
[Report : Hello Report]
Form : Hello Form
[Form : Hello Form]
Part : Hello Part
[Part : Hello Part]
Line : Hello Line
[Line : Hello Line]
Field : MyTextFld
[Field : MyTextFld]
set as : “I am Learning Tally TDL”
Kindly help to reslove , this is my first TDL, it is not running, where do i made mistake
;; Tally First TDL 20180703
[#Menu : Gateway of Tally]
Add:Item : My First Report : Display : My New Report
[Report : My New Report]
Form : My Frm
[Form : My Frm]
Part : PartNew
Background : Red
[Part : PartNew]
Line : Hello Line
Height : 5 Inches
Width : 5 Inches
Space Bottom : 2
Space Left : 2
Space Left : 4.5
[Line : Hello Line]
Field : My Field, Simple Field
Height : 2.5
Local : Field : Default : Style : My Style
Local : Field : Simple Field : Set as : “This is a Visible field”
Local : Field : Simple Field : Color : Red
Local : Field : Simple Field : Space Left : 5
Local : Field : Simple Field : Full Width : Yes
[Style : My style]
Font : “Helvetica”
Height : 18
Bold : Yes
[Field : My Field]
Use : Name Filed
Set as : ” My First tally tdl report ”
Color : Blue
Full Width : Yes
Invisible : No ;; Yes
Hello Balaji,
You need to save yourCodes in your Dropbox Folder.
I didn’t find any issue in your report and in my system the same is working fine.
There is no mistake in your codes. If you still face any issue, Please share the Team Viewer details.
[#Menu : Gateway of Tally]
Add : Key Item : My first TDL Report: Y: Display : My Suresh Report
[Report : My Suresh Report]
Form : My Form
[Form : My Form]
Part : Part new
[Part : Part New]
Line : Hello Line
[Line : Hello Line]
Field : My field
[Field : My Field]
Use : Name Field
Set as : ” Suresh TDL Code”
Hello Sir,
I had uploaded the TDL File named as “Form.txt” for your review purpose in response of the exercise shown in this unit
Your remarks will be highly appreciated.
Thank you very sir.
what is the use of invisible command ?
how can i know the different commands and their use and where to use in tally TDL
did you tried using invisible?
as the name suggest invisible means simply it will not be visible.
Generally it is used for logics if condition A is false then then condition B will not be executed
We are already using invisibles in F11 yes/no settings where when we set a condition to yes it will give us another pop up like GST details of a company
So for those things we can set no /invisible when the first condition is set to no
You can’t get a ready made list you can know then only by writing codes and making yourself familiar with codes which you can do by following the course.
You will not get a ready made some magical list of things anywhere in TDL
only solutions is keep studying the course and make yourself familiar with the codes.
Exercise Code Upload – Dropbox\Shabuddin
;; Surajit Sarkar
;; surajitsarkar9046@gmail.com
[#Menu: Gateway of Tally]
Add: Item: HelloTdl : Display: HelloReport
[Report: HelloReport]
Form: HelloForm
[Form: HelloForm]
Part: PartNew
[Part: PartNew]
Line: Hello Line
[Line: Hello Line]
Field: MyTxtfld
[Field: MyTxtfld]
Use: Name Field
Set as: “I am Learning Tally TDL”
Color: Blue
Thank You Sir. I write your tdl programme. This is run in tally erp 9.
Dear Sir
My machine is format reinstall the dropbox and trying to paste the text file but
it will be not working. Kindly help me.
Mukul,
One student’s system was infected by the virus which was spreading to other student’s system through the Dropbox folder so we had terminated the Dropbox common folder sharing with immediate effect.
I will share your personal folder with you tomorrow
Sir
How to configure dropbox
Dear Sir
Code file paste in Dropbox.
Please check.
Code Completed and uploaded in drop box
https://www.dropbox.com/home/TM(%20TDL)/Rakesh%20Nakade?d=1
sir please check the file created under folder Rakesh Nakade
[#menu:Gateway of Tally]
Add:Item :Hello TDL : display:My Hello TDL Report
[Report:My Hello TDL Report]
[Form:My Hello Report]
[Field: My Textfield]
Set as :”I am learning Tally Tdl”
sir, its not working
Please send me dropbox link
how to start project
I have two sales ledger and two purchase ledger in my accounts in tally
what I want is to add up the closing values of both sales ledger and substract it from the sum of closing balances of both purchase ledger can u tell me the code for same
I want to display this information on gateway of tally only in Hello TDL.
When I
Sir,can you confirm that why you write word “my” in my hello tdl report.none of impact of this word on tdl.
pls explain
Sir,
Exercise is ok. Done.
How to create, open TDL projects in Tally Developer9.
It was confused. and anyway build(F9) option enabled finally.
Need some clarification about project creation and build the project in Tally Developer9.
both way is good
Dear Sir,
I have prepared line tdl report. TDL file showing error while executing in tally erp9. Error is “Field :Big Field, Could not find description”
Other errors also find and resovled. but required clarification –
1 Everything I need to change in 2nd TDL file from adding new report name to display name also. Why we required to change name description in 2nd seperate TDL file.? May be report name become new default name in tally erp. But Why I need to change Form name, part name description.
2 What is Semi Field, Big Field? What is the use of ” Use : Name Field”? Also not able to understand “Line :mkr line, Field: ranafield, Use : uni date field”
Regards,
Rupesh
my first tdl made and send to you sir
Sir, saved in Dropbox for your review.
Name: k.Murugavel
E Mail Id : murugavel.k1983@gmail.com
[#Menu:Gateway Of Tally]
Add:Item:My Hello TDL:Display:My Hello TDL Report
[Report:My Hello TDL Report]
Form:My Hello Form
[Form:My Hello Form]
Part:My Hello Part
[Part:My Hello Part]
Line:My Hello Line
[Line:My Hello Line]
Field:My Hello Field
[Field:My Hello Field]
Set as: ” Hello, Murugavel.Welcome to the Tally TDL world”
#Menu: Gateway Of Tally]
Add:Item:my hello tdl:Display: my hello tdl report
[Report:my hello tdl report]
Form:my hello form
[Form:my hello form]
Part:my hello part
[Part:my hello part]
Line:my hello line
[Line: my hello line]
Field: my hello field
[Field: my hello field]
Set as: hello i am leaning TDL
[#Menu : Gateway of Tally]
you missed opening [ in the first line of code
Sir,
Done with the exercise and joined dropbox too. Please send me the Drop Box joining invitation
Hello Sarvesh,
Dropbox folder is shared. Please check your inbox accept the invitation and then add the folder to your Dropbox.
Thanks for joining the course.
Sir, I have created code but when click on Hello TDL under gateway of tally it shows as under
error in TDL.
‘form: My hello TDL Report’
could not find description!
kindly help me out
Its a small error for deintions name mis match. Please provide Anydesk access through Zopim chat
When I insert the path in tally prime configuration. I am unable to save it in tally prime.
Please share Anydesk ID through WhatsApp or Zopim chat
;; Sri Ganesh
[# Menu : Gateway Of Tally ]
Add: Item: MY REPORT : Display: My Report
[ Report: My Report ]
Form: YOUR FORM
[ Form: YOUR FORM ]
Part: PART 101
[Part : PART 101 ]
Line: LINE ONE
[Line : LINE ONE ]
Field : ANYFLD
[Field: ANYFLD ]
Use : NAME fIELD
Set as : ” This is our First TDL Report amazing ”
Working fine.. yay 1st tdl..
i am late in tdl but ill not quit
[# Menu:gatewayoftally]
Add: Item: HelloReport: Display:HelloReport
[report:HelloReport]
Form:HelloForm
[form:HelloForm]
Part:part201
[part:part201]
Line: line301
[Line: line301]
Field:MyTextfld
[Field:MyTextfld]
use: name Field
Set as: “I am learning Tally TDL”
[#Menu: Gateway Of Tally]
Add: Item: Team Tally : Display: Tally Support
[Report: Tally Support]
Form: Tally Wala
[Form: Tally Wala]
Part : My Tally
[Part: My Tally]
Line: Tally
[Line: Tally]
Field: TSPL
[Field: TSPL]
Set as: “D.P Services, Bilaspur CG “
I cant Play training video here please guide how to play and how to share to shared dropbox folder
Hello Dropbox folder is shared via Email and for video please allow protected contents in your chrome browser media settings and also clear cache and cookies
i did my first TDL, It is working good
How to use Dropbox in my Laptop? Please help.
;; this tdl is our first tdl to learn tdl
[#menu:gateway of tally]
add: key item : hello tdl :l:display:my hello tdl report
[report : my hello tdl report]
form: my hello form;;we are adding form report every report have form
[form: my hello form]
part: my hello part
/*we are adding parts to form. part name is my hello part. every form must have one or more parts*/
[part:my hello part]
line : my hello line;;we are adding line to parts. A part may have one or many line.minimum one or many line.minimum one line is must else the software will
;;throw an error
[line: my hello line]
field : my hello fields to the lines.
;;we are addingfields to the lines
;;line have one or many fields. fields is the ultimate place holder which
;;holds data to display
[field: my hello field]
set as: “hello, ganesh. welcome tothe tally tdl world”
;;this is data which will be shown in tally in our new report
;;end of the tdl code
error show could not find discriptions
Please specify the full error descrpition to debug the code
;; this tdl is our first tdl to learn tdl;; om muruga ;;om kannathal namho
[#menu:gateway of tally]
add: key item : jga it support :l:display:jga tally support
[report : jga it support ]
form: jga it support;;we are adding form report every report have form
[form: jga it support form]
part:jga it support
/*we are adding parts to form. part name is my hello part. every form must have one or more parts*/
[part:jga it support]
line : jga it support, my 2nd line,my 3rd line;;we are adding line to parts. A part may have one or many line.minimum one or many line.minimum one line is must else the software will
;;throw an error
[line: jga it support]
field : computer support, tally support,tdl customised ; jga it support field
;;we are addingfields to the lines
;;line have one or many fields. fields is the ultimate place holder which
;;holds data to display
[line: my 2nd line]
field :tally support
Use: Name Field
Set as: ” this is 2nd line ”
[Line: my 3rd line]
Field: tdl customised
Use: name field
Set as: “this is 3rd line ”
[field: tally support]
set as: “tally support service customised done”
Background: YELLOW
[field: tdl customised]
set as: “report is customised any things”
Background: Green
;;this is data which will be shown in tally in our new report
;;end of the tdl code
tdl error discriptions not found
[#Menu: Gateway of Tally]
Add: Item: Hello TDl: Display: HelloReport
[Report: HelloReport]
Form: HelloForm
;; Sainath Konduri
[Form: HelloForm]
Part: HelloPart
[Part: HelloPart]
Line: HelloLine
[Line: HelloLine]
Field: MyTextfld
[Field: MyTextfld]
Set as: “I am Learning Tally”
[#Menu:Gateway of Tally]
Add:Key Item:My First Program:G:Display:My Hello TDL Report
[Report:My Hello TDL Report]
Form:My Hello Form
[Form:My Hello Form]
Part:My Hello Part
[Part:My Hello Part]
Line:My Hello Line
[Line:My Hello Line]
Field:My Hello Field
[Field:My Hello Field]
Use:Name Field
;;Style: Italic
;;Width: 50% screen
Set as: “Myself Raj Thakur. Welcome to our TDL World.”
Is there any other procedure / thing to do for Tally prime?
I have loaded the TDL. It shows TDL Loaded
find out the path of the tdl/text file and then set that file in tdl configurtion
alt+Ctrl+T in Tally then F4