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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.06.2006, 17:38   #1  
RVS is offline
RVS
Сенбернар
Аватар для RVS
Злыдни
 
696 / 130 (6) +++++
Регистрация: 27.02.2003
Адрес: Королев МО
Access to forms cache
To access the forms record cache in a grid control from X++ code use these form data source methods:

int mark( [int mark] )
Set or get the mark flag on the current record.

This flag can be used in the other methods, and a value other than 0 will result in the record showing up as marked in grids.

int markRecord(record r, [int Mark])
Set or get the mark flag on the specified record.

This method can be used if the record has been found using a select or method call outside the form, and the cache will be searched for the record (on RecId match), and the mark value will be set/returned.

record getFirst([int Mark = 0], [boolean fetchahead = TRUE])
Return the first record with the specified mark value.

The fetchAhead parameter can be used to specify if only the cached records should be looked at (fetchAhead=FALSE), or if the cache should be expanded, and all records looked at.

record getNext()
Uses a previous getFirst, and returns the next record matching the specified mark value.
Теги
mark, выделение строк

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Выделить несколько диапазонов одновременно (в Excel) MironovI DAX: Программирование 31 23.12.2016 15:12
Цветные строки в Grid Sergo DAX: База знаний и проекты 14 19.04.2012 10:02
HRM,склонение ФИО и все все все OmenSore DAX: Функционал 22 09.02.2009 17:08
программно осуществить приемку leva DAX: Программирование 4 21.10.2005 20:48
Как программно вычислить сумму налогов по закупке? sao DAX: Программирование 9 15.07.2005 19:01

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

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

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