View Single Post
Old 24.11.2012, 18:14   #3  
Kent is offline
Kent
Участник
 
46 / 10 (1) +
Join Date: 24.01.2007
Quote:
Originally Posted by MikeR View Post
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...