Programming Guide



dm_convert_empty

Specifies the format of empty numeric fields

#include <dmuproto.h>
int dm_convert_empty(int flag);

flag
One of the following values:

0

Empty numeric fields are entered as "".

>0

Empty numeric fields are entered as 0.


Returns

The previous value of the flag.

Description

dm_convert_empty determines whether empty numeric fields ("") should be replaced with a 0. This setting is database-specific since some databases do not allow NULL values in numeric columns.