Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Handling overflow in a numeric field

edited February 2003 in General
We're converting an app from Paradox DOS to Delphi. On the old reports,
if a numeric field was too small, asterisks would print, notifying the
user that the number didn't fit. On the new reports, the numbers are
simply truncated on the left, causing possible confusion. What is the
best way to handle something like this? Is there a setting for overflow
fields, or, if not, is there a way to write a single generic procedure
for all the numeric fields, which would determine if the current field
is too narrow for the data, and replace the number with asterisks?

Thanks

Comments

This discussion has been closed.