Formatting Question
Hello,
Our reports are primarily financial reports. We apply formatting to number
fields based on local currencies, etc. I will need to pass different
integer values from a currency lookup table field, and apply them to each
DBText which represents either a quantity or currency amount. This decimal
place value will change on a record by record basis.
Can you supply an example of how to use the OnFormat event of a DBText
object? Or is it better to use the OnPrint event and apply my own
formatting function?
Thank you,
Mike
Our reports are primarily financial reports. We apply formatting to number
fields based on local currencies, etc. I will need to pass different
integer values from a currency lookup table field, and apply them to each
DBText which represents either a quantity or currency amount. This decimal
place value will change on a record by record basis.
Can you supply an example of how to use the OnFormat event of a DBText
object? Or is it better to use the OnPrint event and apply my own
formatting function?
Thank you,
Mike
This discussion has been closed.
Comments
you would like on the text string. The formatting is fully replacable in
RB. For some example code see this demo:
http://www.digital-metaphors.com/tips/ReplaceDisplayFormats.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com