Persits Software, Inc. Knowledge Base Articles

BUG: Checkboxes and Combo Boxes with Null Values

Problem Description

When using combo boxes or checkboxes with AspGrid via the methods AttachCheckbox and AttachForeignTable or properties Array and VArray , the following errors may occur if the database records or value arrays contain NULL values:

Invalid VArray element.

Invalid Array element.

A checkbox cannot be attached to this column.

Field cannot be displayed as a checkbox.

Field cannot be displayed in a combo box.

Solution

The errors above were caused by a bug in AspGrid. This bug has been fixed in AspGrid ver. 3.1.0.1 (Service Release). Download this service release from www.aspgrid.com/download.html.