top of page

Check Box Value Set Methods in IEE

  • Writer: Rumesh Aponso (RMAX)
    Rumesh Aponso (RMAX)
  • Nov 22, 2024
  • 1 min read

Way 1 - CheckBox field in frm


this.cbCSelectIndicator.EditDataItemValueSet(0, cbCSelectIndicator.i_sUncheckedValue.ToHandle());
this.cbCSelectIndicator.EditDataItemSetEdited();

Source IFS:

this.cmbRiskAnalysisId.EditDataItemValueSet(1, SalString.Null.ToHandle());

If nValue is a SalString it should be converted to a SalNumber using the ToHandle() method as in the above example. If nValue is a SalNumber it is not required to call the ToHandle() method as shown in the below example.


Source IFS:

this.colnDefaultCharTemp.EditDataItemValueSet(0, SalNumber.Null);

Source IFS:

public SalNumber TestMethod()
{
	#region Local Variables
	SalString sName = "";
	#endregion
	
	#region Actions
	using (new SalContext(this))
	{
		sName = SalString.FromHandle(dfTrnCustomerName.EditDataItemValueGet());
	}
	return 0;
	#endregion
}

Way 2 - CheckBox column in tbw/tbl

this.colCSelectIndicator.Text = "FALSE";

Comments


Copyright © 2025 RMAXOneNote

  • Online CV
  • LinkedIn
  • Youtube
  • GitHub
  • Blogger
bottom of page