Quantcast
Viewing all articles
Browse latest Browse all 72043

Combo Box Filter Creating New Record?

Hi all,

        I have combo box which filters the grid. The combo box having elements like All,Open,Posted. All filters are working fine except 'Open' When i try to filter the open records in the grid it was filtering but automatically creating a new record. Please can any one assist me.

My code in executequery() is,

public void executeQuery()

{

   if(AllOpenPosted.valueStr() == enum2str(AllOpenPosted::Posted))

      rangePosted.value(SysQuery::value(queryValue(NoYes::Yes)));

   else if(AllOpenPosted.valueStr() == enum2str(AllOpenPosted::Open))

       rangePosted.value(SysQuery::value(queryValue(NoYes::No)));

   else

       rangePosted.value(SysQuery::valueUnlimited());

   super();

}


Viewing all articles
Browse latest Browse all 72043

Trending Articles