It's possible to insert a decimal value in Form. I can insert only number or text to simulate a decimal value.
This is APi documentation.
Form([fields=field_list, flags=flag])
field_list consists of tuples: ( label, type [,value] ) , where
o label is a Unicode string,
o type is one of the following strings: 'text', 'number', 'date', 'time', 'combo', and
o value, depending on type: Unicode string, numeric, float (seconds since Unix epoch
rounded down to the nearest local midnight), float (seconds since local midnight) or
([unicode_string choices], index)
Use 'text' . When the form is open press the "pencil" key
to switch between number and text modus. This is good enough. Convert the returned string to float.
There should be a float modus though, I agree.
Last edited by mueller-stach; 2005-06-21 at 19:52.
The wish for decimal values in Query (and Form)
is still urgent or some of us, since we are using float input.
We hope it will come with a future release.
Last edited by mueller-stach; 2005-07-10 at 11:57.