I have a form data source (OMOperatingUnit) on a form where I need to filter by "OMOperatingUnitType", but I am getting a null reference error. What is the proper way to filter this query?
public void executeQuery()
{
this.query().dataSourceName("OmOperatingUnit").addRange(fieldNum(OmOperatingUnit, OMOperatingUnitType)).value(queryValue(OMOperatingUnitType::OMBusinessUnit));
super();
}


Report
All responses (
Answers (