Hi,
I came across a problem where negative numbers are not shown on the forms. They display correct under queries and grids but not on any form. When you open the form you can see the number for a split second but as soon as the form has it styles applied it disappears.(Just blank) If you change the number to a positive value then it displays correct. Has anyone else experienced this problem?
Negative numbers not showing in forms
Re: Negative numbers not showing in forms
After some more testing I figured out it is only when using currency as the format. (I tried the default currency format and a custom one)
Re: Negative numbers not showing in forms
Please create a simple Test BSV with instruction to run it and send to Support.karelh wrote:After some more testing I figured out it is only when using currency as the format. (I tried the default currency format and a custom one)
Re: Negative numbers not showing in forms
Thank you. I will send it to you tonight.
Re: Negative numbers not showing in forms
Hi,
I have emailed it to support. Please note that it only happens when the locale is changed and it is a negative number.
I have emailed it to support. Please note that it only happens when the locale is changed and it is a negative number.
Re: Negative numbers not showing in forms
In a possibly related issue, ranges won't take negative numbers.
1. Use/create a number attribute.
2. Try to set the "Min. Value" to a negative number. At first, the control will replace the "-" with a "0", but if you type "-" a second time, it will show up and you can replace the 0 with the desired value (the replaced "-" could be a clue that this is a known issue).
3. Enter your "Max. Value", save and close the BO.
4. Open the BO again and notice the range is gone.
1. Use/create a number attribute.
2. Try to set the "Min. Value" to a negative number. At first, the control will replace the "-" with a "0", but if you type "-" a second time, it will show up and you can replace the 0 with the desired value (the replaced "-" could be a clue that this is a known issue).
3. Enter your "Max. Value", save and close the BO.
4. Open the BO again and notice the range is gone.
v8.1 on Windows 10 / MySQL 5.6 (local), v8.1 on Windows Server 2016 / MySQL 5.6 (server)
-
- Posts: 7565
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Negative numbers not showing in forms
Negative ranges for number attributes problem should be fixed in build 2360
Aware IM Support Team
Re: Negative numbers not showing in forms
Is this already solved?
I'm facing the same problem.
A negative value is visible in the grid, but not in the (regular) form.
Type : Number
Format : $###,##0.00
Min / max value : empty
When entering min/max value, it disappears after reopening the BO.
Locale : Dutch
How to show a negative value in a form using a currency symbol ?
= Jannes
I'm facing the same problem.
A negative value is visible in the grid, but not in the (regular) form.
Type : Number
Format : $###,##0.00
Min / max value : empty
When entering min/max value, it disappears after reopening the BO.
Locale : Dutch
How to show a negative value in a form using a currency symbol ?
= Jannes
-
- Posts: 7565
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Negative numbers not showing in forms
Do not use the dollar sign as part of the format. Add it to the label instead or display it after the control. In queries use "Display format" to display it. The dollar sign in format could be the cause of the problem
Aware IM Support Team