Duplicate ToolTip between page and table field (AC0029)
When both a page field and its underlying table field define the same ToolTip value, the page field’s ToolTip is redundant and should be removed. The ToolTip defined on the table field will automatically be inherited by all pages using the field.
Removing duplicate ToolTips reduces maintenance overhead and ensures consistency across all pages that use the field.
Example
The following page field and table field have identical ToolTips:
table 50100 MyTable
{
fields
{
field(1; MyField; Integer)
{
ToolTip = 'Specifies the value.';
}
}
}
page 50100 MyPage
{
SourceTable = MyTable;
layout
{
area(Content)
{
field(MyField; Rec.MyField) // The ToolTip property of page field 'MyField' and its table field 'MyField' have the same value and therefore the page field's ToolTip can be removed. [AC0029]
{
ToolTip = 'Specifies the value.';
}
}
}
}
To fix this, remove the ToolTip from the page field:
table 50100 MyTable
{
fields
{
field(1; MyField; Integer)
{
ToolTip = 'Specifies the value.';
}
}
}
page 50100 MyPage
{
SourceTable = MyTable;
layout
{
area(Content)
{
field(MyField; Rec.MyField) { }
}
}
}
See also
- AC0028 - Table field must define a ToolTip