TField fieldByName(String fieldName) { final result = findField(fieldName); if (result == null) { databaseErrorFmt(SFieldNotFound, [fieldName], this); } return result!; }