Re: Radio buttons

From: Michael Hudson <mike_at_slac.com>
Date: 15 Feb 1999 21:05:01 GMT
Message-ID: <7aa25t$2mr$1_at_solaris.cc.vt.edu>


Actually, I solved my own problem...

When dealing with radio buttons on a non-database block (for instance a control block perhaps).... one must make sure the property 'Mapping of Other Values' contains your default value...
and you must go to that block in your when-new-form-instance trigger.

When there is no database assigned to a block, the radio button default values don't work until a record is created in that block. A record gets created automatically when you enter the block, but because there is no link to a real database table, the radio button's value is NULL and not the default value. However, if you make the 'Mapping of Other Values' equal to what you want as your default value and since NULL is an 'other value' then your radio button becomes whatever you put in that property when you start up your form...
Thus getting a default value to work consistently on a radio button when no database is linked to it's block... Received on Mon Feb 15 1999 - 22:05:01 CET

Original text of this message