Programming Guide |
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.
The previous value of the flag.
dm_convert_empty
determines whether empty numeric fields ("") should be replaced with a0
. This setting is database-specific since some databases do not allow NULL values in numeric columns.