Notifications
Announcements
HiI add value in range QueryBuildRange type NoYes(true or false). See next code.
qbr = qbds.addRange(fieldNum(CustInvoiceTrans, DBOProcessed)); qbr.value(SysQuery::value(false));
field DBOProcessed type is NoYesId. When i debug my code, value return 255. And my query work not correct. How me correct add value false? Please, help.
*This post is locked for comments
Hi Maxhammer,
You can try having the next statements for false:
- 0
- NoYes::No
you should write as follows
qbr.value(QueryValue(NoYes::No));
Please verify if this helps you
thank you
if you are using SysQuery Class, this is the code
qbr = qbds.addRange(fieldNum(CustInvoiceTrans, DBOProcessed));
qbr.value(SysQuery::value(NoYes::No));
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
TAHER Mehdi 3
Nakul 2