// Orig code
if (args.dataset() == tableNum(Table))
{
FormDataSource ds = FormDataUtil::getFormDataSource(args.record());
Table tableBuffer = FormDataUtil::getFormDataSource(args.record()).cursor();
}
// Simplified code - variant 1:
if (args.dataset() == tableNum(Table))
{
Table tableBuffer = args.record();
}
// Simplified code - variant 2:
Table tableBuffer = args.record() as Table;
if (tableBuffer)
{
...
}
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156