If you use a DBEdit you can set the "Auto Size" option the field will grow in width the accomodate the value.

You should need to leave enough space to the right for the growth.

If you use a DBMemo the "Stretch" option would allow it to grow in height to accomodate the value.

Bob

Gunnar Ekblad wrote:

I wonder how you all handle reporting of numeric values (Real, Double,
Currency, Numeric) in windows version of R:Base!
I old DOS style, If I had a value that was bigger than fitted the field
I got nicely ********** as resultat telling me I had a value to was
bigger than could represented in the allocated space.
I windows version If I have a value of say $10,563,952.53 that on a
report comes out as 563,952.53 since I did not allocate space enough,
has any body figured out how I can get a warning/error/format/?? so I
will be aware that something is wrong. The only thing I have come up
with is to allocate more then enough space. But sometimes that solution
takes up to much space that could be better used for other purposes.
I guess what I am asking for is right clicking a report field beside the
existing "Display format, Null Format" I would like to see "Overflow
format". In a way I can use autosize, but that leaves me out of the
control of the format and space allocated.
Or has anyone already solved this in nice and smart way?


Gunnar Ekblad






Reply via email to