ComponentOne True DBGrid Pro 8
ConvertEmptyCell Property

ConvertEmptyCell Property

The ConvertEmptyCell property specifies whether an empty cell will be written to the underlying data source as is (an empty string), or as a Null variant.

Syntax

column.ConvertEmptyCell

Values

Design Time

Run Time

0 - Write as is (default)

dbgNoConversion

1 - Write as Null value

dbgAsNull

Remarks

Read-only at run time. Read/Write at design time.

Note

Prior to version 6.0a, null-valued updates could only be performed in code by setting the Value property of a column to Null, typically in the AfterColUpdate event. You can now achieve the same effect at design time by setting the ConvertEmptyCell property of the desired columns to 1 - Write as Null value.

See Also

Column Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback