public void selectionChanged()
{
super();
_Table_DIPL = this.listPage().activeRecord(queryDataSourceStr(DIPL_CUST, DIPL_cust_1));
//(Query name assigned for listpage form)
//(Datasource name which is in Query)
if(_Table_DIPL.ID == "ID7")
{
this.listPage().actionPaneControlEnabled(formControlStr(DIPLCUSTLISTPAGE, DeleteCommandButton),true);
//Form Name
//form field name
}
else
{
this.listPage().actionPaneControlEnabled(formControlStr(DIPLCUSTLISTPAGE, DeleteCommandButton),false);
}
}
{
super();
_Table_DIPL = this.listPage().activeRecord(queryDataSourceStr(DIPL_CUST, DIPL_cust_1));
//(Query name assigned for listpage form)
//(Datasource name which is in Query)
if(_Table_DIPL.ID == "ID7")
{
this.listPage().actionPaneControlEnabled(formControlStr(DIPLCUSTLISTPAGE, DeleteCommandButton),true);
//Form Name
//form field name
}
else
{
this.listPage().actionPaneControlEnabled(formControlStr(DIPLCUSTLISTPAGE, DeleteCommandButton),false);
}
}