[Shapelib] What format to return null values from character fields

Frank Warmerdam warmerdam at pobox.com
Sat May 6 07:50:43 PDT 2006


Rob Cairns wrote:
> Hi Frank. When returning null values from character fields in a dbf file to 
> e.g. a datagrid object, should these be returned as VT_NULL, VT_EMPTY or 
> empty string ("")? Many Thanks - Rob

Rob,

The value is notionally NULL so I think returning VT_NULL would be
appropriate.  But then I'm not especially savvy on VB types and semantics.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Shapelib mailing list