Thanks for your feedback.
Im using windev and it is a memory table.
Carlo Hermus : Im type your code at the "When Modified of CBox_Docbox" as below
IF TABLE_SOLine.COL_Stockable [rowCount] > 0 THEN
CBOX_DOCbox = True
ELSE
CBOX_DOCbox = False
END
The problem is :
1) IF TABLE_SOLine.COL_Stockable contain [color=#00CCFF]True[/color] ,the CBox_Docbox cannot be clickable (I cannot chose true or false)
2) If i delete one row and there is no [color=#00CCFF]True[/color] TABLE_SOLine.COL_Stockable, the CBox_Docbox is [color=#00CCFF]True[/color].
Result need :
1) If one of the TABLE_SOLine.COL_Stockable contain [color=#00CCFF]True[/color] so the CBox_Docbox can be [color=#00CCFF]True[/color] or [color=#00CCFF]False[/color]
2) If there is no [color=#00CCFF]True[/color] TABLE_SOLine.COL_Stockable, the CBOX_DOCbox will be [color=#00CCFF]False[/color] only even though we click the CBOX_DOCbox.
Thanks a lot