WebDB Form - Checkbox - Boolean value

From: Per-Arne Hoel <pah_at_opus.tr.no>
Date: Mon, 07 Jun 1999 21:24:56 +0200
Message-ID: <375C1C88.EEDB813A_at_opus.tr.no>



WebDB offers "CheckBox" as an display/edit option in the form-builder. I want to use it to display/edit a boolean field value. Problem:
What kind of datatype in the column the checkbox is pointing to?

I've tried number (0/1) and varchar2 (Y/N - YES/NO - ON/OFF) as datatypes - with no luck.
It turns out that the form writes "on" to the column when the checkbox is checked, and writes nothing at all (not NULL) when it's not checked.

Any clues?

--

Regards/Med vennlig hilsen

Per-Arne Hoel
Prosjektleder Opus Tromsų

Epost:
mailto:pah_at_opus.tr.no
Hjemmeside:
http://home.c2i.net/phoel/
Telefoner:

- 77 67 55 55
- 77 85 46 47
- 91 35 19 83
Received on Mon Jun 07 1999 - 21:24:56 CEST

Original text of this message