Type search words and press enter
Seamless e-invoicing is now at your fingertips. Check out our self-help videos.
https://help.tallysolutions.com/docs/td9rel54/td9/troubleshooting/error_code_0041.htm

error T0041: Invalid TDL expression - %s.

Cause

This error occurs when a given TDL expression(%s) is not understandable or invalid.

Solution

Write a valid TDL expression.

Example

[#Menu: Gateway of Tally]

Add: Item: "MyReport" :Display: MyReport : If ##MyVar then Yes Else

[Report: MyReport]

Use: Balance Sheet

[System: Variables]

Variable: MyVar: Logical

The expression If ##MyVar then Yes Else is incomplete, hence the message error T0041: Invalid TDL Expression - If ##MyVar then Yes Else .

The code is corrected by completing the TDL expression.

[#Menu: Gateway of Tally]

Add: Item: "MyReport" :Display: MyReport : If ##MyVar then Yes Else No

[Report: MyReport]

Use: Balance Sheet

[System: Variables]

Variable: MyVar: Logical