> In doing table validation, I have often used the
> foxpro function "empty()" which returns .t. if the
> enclosed entity is empty. i.e., if boolean .f. then
> empty = .t.. If number 0, then empty = .t., and if a
> blank string, then empty = .t.
>
> I didn't see anyother way to mimic this behavior then
> what I wrote below, is there a better way????
I'd have suggested writing empty functions for various
types, empty(boolean), empty(int4), empty(float8),
empty(text) and using those. You could probably even
just do them as sql functions.