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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.10.2007, 17:55   #1  
ist is offline
ist
Участник
 
60 / 10 (1) +
Регистрация: 29.07.2007
Цитата:
Сообщение от EVGL Посмотреть сообщение
.executeQuery() is called.
Ok but how I can distinctwish executeQuery() with and without filtering?
When "filter by field" is enabled i have to change JoinMode from OuterJoin to InnerJoin.
Старый 25.10.2007, 18:01   #2  
EVGL is offline
EVGL
Banned
Соотечественники
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
4,445 / 3001 (0) ++++++++++
Регистрация: 09.07.2002
Адрес: Parndorf, AT
Цитата:
Сообщение от ist Посмотреть сообщение
Ok but how I can distinctwish executeQuery() with and without filtering?
When "filter by field" is enabled i have to change JoinMode from OuterJoin to InnerJoin.
Maybe you cannot.
Try to look if a range exists on your field.
Старый 25.10.2007, 18:57   #3  
ist is offline
ist
Участник
 
60 / 10 (1) +
Регистрация: 29.07.2007
Цитата:
Сообщение от EVGL Посмотреть сообщение
Maybe you cannot.
Try to look if a range exists on your field.
When it is filtering with "Filter By Field" strange why executeQuery did not invoke.
X++:
public void executeQuery()
{
    QueryBuildRange qbr;
    Query query = this.query();
    ;
    qbr = this.query().dataSourceTable(tableNum(ExtCodeValueTable)).findRange(fieldNum(ExtCodeValueTable, ExtCodeValue));
    if(qbr)
    {
        query.dataSourceTable(tableNum(ExtCodeValueTable)).joinMode(JoinMode::InnerJoin);
    }
    super();
}
The debuger does not stop on the breakpoint
Старый 25.10.2007, 18:57   #4  
ist is offline
ist
Участник
 
60 / 10 (1) +
Регистрация: 29.07.2007
Цитата:
Сообщение от EVGL Посмотреть сообщение
Maybe you cannot.
Try to look if a range exists on your field.
When it is filtering with "Filter By Field" strange why executeQuery did not invoke.
X++:
public void executeQuery()
{
    QueryBuildRange qbr;
    Query query = this.query();
    ;
    qbr = this.query().dataSourceTable(tableNum(ExtCodeValueTable)).findRange(fieldNum(ExtCodeValueTable, ExtCodeValue));
    if(qbr)
    {
        query.dataSourceTable(tableNum(ExtCodeValueTable)).joinMode(JoinMode::InnerJoin);
    }
    super();
}
The debuger does not stop on the breakpoint
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axaptapedia: Filter-by-Grid Blog bot DAX Blogs 2 30.05.2012 13:39
axStart: Check if the table field is mapped. Blog bot DAX Blogs 0 07.03.2009 00: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
Kashperuk Ivan: Hotkeys and Find vs Filter in Dynamics AX 2009 Blog bot DAX Blogs 2 11.03.2008 12:06

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

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

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