Hello,
I work with BO V5 and Oracle 8.1.7.
In a results table, I report two columns A and B of numeric values. In a third column, I want to compare values A and B. As a result, I want to display a tendency arrow that indicates the trend:
If value of column B is superior to the corresponding value of column A, I want to display an ascending arrow
If value of column B is inferior to the corresponding value of column A, I want to display an descending arrow
If value of column B is equal to the corresponding value of column A, I want to display an horizontal arrow
Does someone know how to do this ?
Can I include an image (arrows) in a BO formula ?
If it is not possible, what do you think about storing the arrows images in the database ?
You might look at the WingDings font as it may have the characters that you need. For example, in the WingDings font the J turns into and the K into so you may find some arrow characters.
When I checked, character 233 is a nice, bold, up arrow, char 232 is sideways, and 234 is down. There are non-bold versions at characters 224 - 226 as well.
In your case you could create a variable called “Indicator” with the following logic:
If (<B> > <A>) Then Char(233) Else If (<B> < <A>) Then Char(234) Else Char(232)
That will create a variable that displays character 233 when the trend is up, 234 when the trend is down, and finally 232 when the trend is sideways. For the last step, highlight the cell in question and format it with the WingDings font… it should be a standard font for Windows installations. 8)