Skip to Content
Former Member
Nov 03, 2009 at 11:57 AM

check box value



Here i am using check boxes in a form after form loading i will populate details i am writing code to make check box true

I am using below code, but after making ckecked value tru also its showing checked false only kindly help me how to make checked true for checkbox in coding.

oForm.DataSources.UserDataSources.Add("CheckDS5", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 10);

ochkextinv = (SAPbouiCOM.CheckBox)(oForm.Items.Item("chkextinv").Specific);

ochkextinv.DataBind.SetBound(true, "", "CheckDS5");

ochkextinv.Checked = true;

plz help me i am fasing this problem for all checkboxes in form including checkbox i used in matrix also. kindly help me.