NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: spot1701 on December 01, 2009, 05:50:00 AM

Title: Numeric fields broken. Adds extra following zeros. (4.40)
Post by: spot1701 on December 01, 2009, 05:50:00 AM
Nettalk 4.40
Clarion 6.3.9095

Run example 1. Enter the form and enter a number into the size limit field. The number will get following zeros added to it.
This only seems to happen when the field is a dictionary field and is a long/real.

A show stopper for me, so will be reverting unless there is a quick fix?
Title: Re: Numeric fields broken. Adds extra following zeros. (4.40)
Post by: Bruce on December 01, 2009, 06:32:42 AM
Thanks for the report Bryan - fixed in 4.41 which I've already uploaded.

cheers
Bruce
Title: Re: Numeric fields broken. Adds extra following zeros. (4.40)
Post by: spot1701 on December 02, 2009, 02:38:10 AM
No it isn't fixed in 4.41.
Downloaded it this morning, and the bug is still there.
Title: Re: Numeric fields broken. Adds extra following zeros. (4.40)
Post by: Bruce on December 03, 2009, 05:49:01 AM
Hi Bryan,

Seems I can't get the build right - my fault sorry.
In the mean time make the fix in your netweb.clw file
search for
Code: [Select]
  ans = choose(instring('.',loc:pic,1,1)>0,deformat(loc:value),deformat(loc:value,loc:pic))and replace with
Code: [Select]
  ans = choose(instring('`',loc:pic,1,1)=0,deformat(loc:value),deformat(loc:value,loc:pic))
Sorry again.
cheers
Bruce