×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    66

    Decimal value in Form

    Dear All,

    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)

    Can anyone help me ?

    Thank you

  2. #2
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    66
    Sorry but it's urgent. Nobody have the same problem ?
    In which mode you can insert flot or double values into Form ?

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    18
    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.

  4. #4
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    66
    It's a good idea but it's not pratic way to use decimal value.
    I think in 1.2 version this issue should be implemented.

    Thank you

  5. #5
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    66
    I need to implemtent a little expense manager with python but i need float imput.

    Now we have this:
    input query(label, type [,initial_value])
    o 'text'
    o 'code'
    o 'number'
    o 'date'
    o 'time'
    o 'query'

    In next version we will find CAknFloatingPointQueryDialog
    used for floating point input.

    Please Member, reply this.

  6. #6
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643
    Your wish has been noted. The wishlist is quite long, but we'll see what we can do.

  7. #7
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    66
    Thank you

  8. #8
    Registered User
    Join Date
    Dec 2004
    Posts
    18
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×