I have a form with a grid control. The form's datasource is a table called 'ItemInventory'. This table contains item records for many different items.
A parameter is being passed to form init method of this form as in code below. How can I filter the data source to return only records with an item id equal to parameter passed into form init method? This would only show the filtered records in this form's grid control.
public void init() { str itemId; ; super(); // Check for passed arguments if( element.args() ) { // get the item id string parameter passed to this form itemId = element.args().parm();
//TO DO?? now filter the table ItemMaster on above itemId value } }
*This post is locked for comments