NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: willieb on February 27, 2018, 04:39:40 AM

Title: Text field only shows first character
Post by: willieb 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
Title: Re: Text field only shows first character
Post by: peterH 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
Title: Re: Text field only shows first character
Post by: willieb on February 27, 2018, 09:10:09 AM
Thank you Peter, it's once again displaying all the data!
Title: Re: Text field only shows first character
Post by: peterH 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
Title: Re: Text field only shows first character
Post by: willieb 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
Title: Re: Text field only shows first character
Post by: Bruce on March 01, 2018, 01:59:38 AM
Hi Willie,

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

cheers
Bruce
Title: Re: Text field only shows first character
Post by: willieb 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