Filtering Records

 

I have a radio button to filter the records for Purchase status, but i need only two radio buttons to display there one is none and other is received.

When I click None all the PO needs to show and when I click received, only purchase order in received status need to show...

I used following methods:

public class FormRun extends ObjectRun
{
QueryBuildRange qbds;

}

In Purchtable:

public void init()
{
super();
qbds=this.query().dataSourceNo(1).addRange(fieldnum(PurchTable,PurchStatus));
}

public void executeQuery()
{
qbds.value(RadioButton.valueStr());
super();

}

In Radio button:

public int selectionChange()
{
int ret;

ret = super();
PurchTable_ds.executeQuery();
return ret;
}

Related
Recommended