Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

setting "default" value with add_col

Quote Reply
setting "default" value with add_col
How??

I can't seem to do it.

The default doesn't seem to take, and I've tried it with not_null=1 just in case.

This is the source of some of the problems....my "int" fields need to be set to '0' when created, otherwise there is a lot of overhead added to the code.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: setting "default" value with add_col In reply to
Ohhhhh.... I'll bet it's a logic bug in the properties/editor! :)

I can't enter '0' as a default value in an Int field in the Properties editor.

A non-zero value works fine!


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum