NetTalk Central

Author Topic: Text field only shows first character  (Read 5641 times)

willieb

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Text field only shows first character
« on: February 27, 2018, 04:39:40 AM »
Hi,

Can someone please assist with the following.  I have a wizard generated update and a text field is displaying only the first character saved on the record.  I tried by re-creating another update window.  I deleted the field and manually created another.  I also changed the text field to a string.  All just gave me the first char of what is currently saved in the field.

I did get this once a while back ... cannot remember what I did to get this fixed.

Thanks

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Text field only shows first character
« Reply #1 on: February 27, 2018, 06:13:39 AM »
Try closing the app and delete the app.state.xml file. That usually fixes this situation when it happens to me.

Peter

willieb

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: Text field only shows first character
« Reply #2 on: February 27, 2018, 09:10:09 AM »
Thank you Peter, it's once again displaying all the data!

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Text field only shows first character
« Reply #3 on: February 27, 2018, 09:33:57 AM »
Glad it worked!

Maybe Bruce can tell us what's going on when that happens. There doesn't seem to be any pattern and I have absolutely no idea about what causes it. Except that something maybe gets saved wrongly.

Peter

willieb

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: Text field only shows first character
« Reply #4 on: February 27, 2018, 09:46:29 AM »
That is a good idea, like I said earlier I did get the same issue previously just could not remember what I did to fix it.

Just a note to Bruce for when he starts digging into this bug ... I created a very small (2 tables) app from scratch using the wizard this morning and the bug was there from the start.

Nettalk 10.15
Clarion 10 12799

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Text field only shows first character
« Reply #5 on: March 01, 2018, 01:59:38 AM »
Hi Willie,

Send me the example so I can take a look please.

cheers
Bruce

willieb

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: Text field only shows first character
« Reply #6 on: March 01, 2018, 03:04:59 AM »
Hi Bruce,

See attached:

...state.xml_Bug - the file I deleted to see all chars.
...state.xml_Working - file currently working - well, just delete the current state file to create a new working file.

With app and dct.

Thank You