AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 27.09.2006, 10:47   #1  
Gustav is offline
Gustav
Moderator
Аватар для Gustav
SAP
Лучший по профессии 2009
 
1,858 / 1152 (42) ++++++++
Регистрация: 24.01.2006
Адрес: Санкт-Петербург
Записей в блоге: 19
AOT \ System Documentation \ Classes \ DictTable
AOT \ System Documentation \ Classes \ DictField
AOT \ System Documentation \ Classes \ DictFieldGroup

пример их хелпа к методу DictFieldGroup.numberOfFields:
Код:
DictFieldGroup t = new DictFieldGroup(_tableId, _fieldGroupName);
DictField f;
int i;
fieldId id;
;
if (t)
{
    for (i=1; i<=t.numberOfFields(); i++)  // numbering starts at 1
    {
        id = t.field(i);
        f  = new DictField(dict.tableName2Id(_tableName), id);
        if (f) print 'Field: ' + f.name() + ' (' + int2str(id) + ')';    
        else  print 'MethodName: ' + t.methodName(id) + ' (' + int2str(id) + ')';
    }
}

Последний раз редактировалось Gustav; 27.09.2006 в 10:59.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Check if the table field is mapped. Blog bot DAX Blogs 0 07.03.2009 00:05
DeniZone: Invoking a method on a field in a form's datasource Blog bot DAX Blogs 0 13.02.2009 14:05
palleagermark: Set focus on a particular field on an EP page Blog bot DAX Blogs 0 27.11.2008 14:05
axStart: table & field ID conflicts Blog bot DAX Blogs 0 29.05.2008 17:05
SysDictCoder: Table browser with field groups Blog bot DAX Blogs 6 09.08.2007 09:56

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:34.