Navigation:  DataServer Classes > DaoServer Class >

DaoServer:NullAsBlank Access/Assign

Previous pageReturn to chapter overviewNext page

Purpose

A logical value indicating whether the server should return NULL values as blank values of the proper datatype

 

Note

By default Dao returns NULL values in the database as NIL values. That can be very awkward if you for example want to calculate the sum of two fields. By setting NullAsBlank to TRUE null values are returned as blank values of the proper datatype:

 

Field typeBlank value
DateNULL_DATE
StringNULL_STRING
Numeric0
LogicFALSE
ObjectNULL_OBJECT
MemoNULL_STRING

 

Class

DaoServer        

 

See Also

DaoServer:FieldGet()