Hi, I discovered that the dbnull can be expressed with the string [NULL]. So customEntry="[NULL],Not specified,true" renders on the list the text "Not specified" but inserts NULL on the database.
Thanks Ivan Quoting Ivan Codarin <[EMAIL PROTECTED]>: > Dear All, > I wanto to create a db:select tag with a customEntry where if nothing is > selected it will insert the null value in the database. > > <td align="field"> > <db:select fieldName="scholarship_type" > customEntry="$null$,Not specified,true"> > <db:tableData > name="scholarship_type" > foreignTable="__lst_scholarship_type" > storeField="id_scholarship_type" > visibleFields="scholarship_type" > disableCache="true" /> > </db:select> > </td> > > I tried different configs of "null" also customEntry",,true" that inserts an > empty char on the database (''). > > Any idea? > Thanx > Ivan > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&opĚk > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > ----------------------- Ivan Codarin ----------------------- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms