Subject | Re: [IBO] tib_lookupcombo and dataset containing null values |
---|---|
Author | lester@lsces.globalnet.co.uk |
Post date | 2001-08-14T12:32:37Z |
> I have written a billing application where you can assign discountsIn this case I would expect to be putting a number in the
> for the customer: 5%, 7%, ...
> or even <none>.
>
> When the application creates the invoice, the assigned discount is
> chosen from the lookup table. If the lookup field for the customer is
> NULL, no discount is computed.
discount field - even if it is filled in from a lookup
table. The DEFAULT would be 0. Then I can use that field in
COMPUTED fields, where NULL would not include the reset of
the sum. Even my VARCHAR fields get defaulted to a blabk
line now, so that I don't have any supprises when I
concxatonate. NULL is not an appropriate 'value' for many
fields.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services