Type search words and press enter
Check your pre-qualified business loan offer in TallyCapital with a single click! Based on your financial data, get a tentative offer and apply for a business loan in TallyPrime!
https://help.tallysolutions.com/docs/td9rel54/faq/6184.html

TDL to Disable Delete/Cancel Keys not working in Tally.ERP 9

In Tally 9, there were no buttons available for deletion or cancellation. Only keys were available to do the same. In Tally.ERP 9, Bottom ToolBar Buttons have been introduced with which deletion or cancellation can be done using Keys as well as Mouse Click. Hence, in order to disable deletion and cancellation, these buttons need to be disabled too.

Below is the sample code where the bottom tool bar buttons (Delete and Cancel) are deleted for all the users except the administrator.

[#Form: Voucher]

Add   : Option : User Voucher : Not $$IsCmpOwner

[!Form: User Voucher]

Delete : Bottom ToolBar Buttons  : BottomToolBarBtn3_Delete

Delete : Bottom ToolBar Buttons  : BottomToolBarBtn4_Cancel

The above TDL only deletes these buttons from the Voucher and the same concept needs to be extended to other reports like Daybook, etc.