Hi,

how do I give the user of the Dabo application the possibility to explicitly 
set a database field to NULL? Say, there is a table:

CREATE TABLE items (
id serial primary key,
item text,
description text,
size integer)

and three dTextBox widgets associated with those fields.

The table contains the following record (3, "Some Item", "Some Description", 
15),

how can the user set items.size and items.description to NULL? Leaving the 
TextBox blank doesn't work.  Is there a special key sequence or something like 
that? Or do I have to code this myself for every field like

if fieldValue=="" then fieldValue=None  ?



Regards

Peter
-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to