Welcome! Log In Create A New Profile

Advanced

(WB 12 Eng) How to deal in with % mask

Posted by Jaime Fernandez 
Jaime Fernandez
(WB 12 Eng) How to deal in with % mask
January 23, 2009 11:47AM
Hi,
Mask on table % and %%, the displayed value it's always converted.
In the file. Field: numeric, Input Mask:Numeric defined by the project .Value of row= 100

In the table: If the mask of column =999,99 %% displays 10,0%
If the mask of column =999,99 % displays ++++


Any idea?

Regards
Goof.pcs.crosspost
Re: (WB 12 Eng) How to deal in with % mask
January 23, 2009 01:07PM
Friedman a écrit :
> Hi,
> Mask on table % and %%, the displayed value it's always converted.
> In the file. Field: numeric, Input Mask:Numeric defined by the project .Value of row= 100
> In the table: If the mask of column =999,99 %% displays 10,0%
> If the mask of column =999,99 % displays ++++
>
> Any idea?
> Regards
>
>
When a field display +++++, it mean that the field is not wide enough to
display the value.
With a value of 100, it will display 10000.00 % in your field.
I don't know how it work in Webdev but in windev you just have to make
your field wider to avoid that effect.
Since your field mask is defined to 999.99%, values over 999.99 might be
converted "++++" try with a 999 999.99 %
I hope it will help
Bye

Goof


PS : sorry for the mistakes i could have done, I'm french.
Message forwarded from pcsoft.us.windev
Jaime Fernandez
Re: (WB 12 Eng) How to deal in with % mask
January 23, 2009 05:59PM
HI Goof,

The problem was the Column definition: numeric type instead High-precision numeric, and with the mask= 999,99%%(that means no conversion) all it's displayed OK.

Thank you.
PD: I'm Spanish winking smiley
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: