Показать сообщение отдельно
Старый 24.11.2012, 18:14   #4  
Kent is offline
Kent
Участник
 
46 / 10 (1) +
Регистрация: 24.01.2007
Цитата:
Сообщение от MikeR Посмотреть сообщение
This example will help you.
You may use both clauses in one expression.

X++:
queryBuildRange.value(strFmt('((%1 == %2) || ((%1 == %3) && (%4 == "%5")))',
    fieldStr(InventTable, ItemType),
    any2int(ItemType::Service),
    any2int(ItemType::Item),
    fieldStr(InventTable, ProjCategoryId),
    queryValue("Spares")));
But it seems, it works only for enum type fields...