Reports Req


I am genarating a simple report. In CustTable I am having Boolean(YesNo) type for Car Field. now i want to genarate only “no” type .how can i do it in reports by using x++.

Thanks in Adv

Use QueryRange

DataSource.addRange(fieldnum(CustTable, CarField)).value(enum2str(NoYes::No));


It can be done as said by monika as above.

If you want to fix the Boolean value always to No then you can proceed in that way or

Other way of doing is…

In the report datasource CustTable there in the range node you can add this boolean field as range and set the property Value to No. This is the case if you want to fix the value.

Naresh Kolli