Показать сообщение отдельно
Старый 22.05.2006, 12:59   #8  
Maxim Gorbunov is offline
Maxim Gorbunov
Administrator
Соотечественники
Лучший по профессии 2009
 
2,483 / 646 (26) +++++++
Регистрация: 27.11.2001
Адрес: Dubai, UAE
Цитата:
Сообщение от 3oppo
Попробовал создать дисплей метод на датасорсе который вызывает дисплей метод таблицы но для грида это не проходит, метод получает текущее значение курсора и вовсе поля грида возвращает одинаковое значение.
Открываем Microsoft Axapta Developer's Guide, ищем статью Creating Forms/Form Basics/Designing Forms/Using display and edit method modifiers. Читаем:
Цитата:
The exception to this is when you define display on a form data source method. If you choose to write a display method on a form data source, you must include the data source as parameter, for example

display InventQty Accumulated(InventBudgetInvent Budget)

which is a method on the data source for the InventBudgetInvent form.

Note
You must use display on a form data source method when the return value is to be shown on a grid control.
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me