This error occurs when a Local definition is incomplete by not specifying the attribute to be modified or added or deleted.
Ensure that all statements are completed.
Example
[#Menu: Gateway of Tally]
Add: item: "My Report": Display : MyReport
[Report: MyReport]
Use : DayBook
Local: Form: DayBook
In the above example, the attribute to be changed or added or deleted is not given. Hence the message error T0017: Empty or invalid attribute for the dynamic modifier Local .
The code is corrected by adding required attributes to Local modifier.
[#Menu: Gateway of Tally]
Add: item: "My Report": Display : MyReport
[Report: MyReport]
Use : DayBook
Local: Form: DayBook: Background: White