Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IntegerItem and Long Type

    SmartClient Version: SNAPSHOT_v9.0d_2013-04-25/PowerEdition Deployment (built 2013-04-25)

    I'm trying to use an IntegerItem in a form to hold a Foreign Key value which is a Long. It simplifies creating a new record by simply getting the Form's record as in:

    Record rec = myForm.getValuesAsRecord();

    However I need to set value in the IntegerItem using

    item.setDefaultValue(longVal.toString());

    and then having a special case for that field name to convert the string back to a Long.

    Is there a simpler way of adding a Long to a form as a Default value and retrieving the Long in the record of the form?
    Last edited by tece321; 8 May 2013, 06:25.

    #2
    Thanks for letting us know. We're looking into this.

    Regards
    Isomorphic Software

    Comment


      #3
      There will be a fix in tonight's nightly build.

      Comment

      Working...
      X