Only 1Checkbox should be checked

public boolean modified()
{
boolean ret;
ZLG_CustMarket custMarket;
ret = super();

if(Grid_DefaultPredicastMarketCode.value() == NoYes::Yes)
{
update_recordset custMarket
setting DefaultPredicastMarketCode = NoYes::No where custMarket.DefaultPredicastMarketCode == noyes::Yes;
ZLG_CustMarket_ds.research();
}
return ret;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s