Results 1 to 2 of 2

Thread: textfield datasource data type: should the default data type stick?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,043

    textfield datasource data type: should the default data type stick?

    In VFP, if I have a an object property or a variable set to a numeric value, and assign that as the datasource, then when the user enters a value, it is returned in that data type.

    I'm not seeing the same behavior in Lianja (RC5.3).

    I have a textfield in a form section. Have a public variable created inn app INIT called nMileage, set to 0 (I've tried setting it to 2, in case the compiler optimization bug that bit me elsewhere, now fixed, was the issue). Use that public variable as the datasource (I want that variable available elsewhere, or I would have implicitly declared it via the datasource and set a default value on the control -- same results either way).

    I then enter a number into the textfield.

    List Memor: it's a Character type.

    Is this as planned?

    thanks,

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,081
    No it should work as expected.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us