Printing Direction Arrows On Labels Follow

0
Avatar
Legacy Poster

Hi there...

I would like to print up/down arrows on bin location labels depending on the data coming in from a data file. Is there any way we can import two files and toggle the visibility of each icon (one for up, one for down) based on the flag in the file?


Regards

Timothy Muir
RFBS

2 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

You would need to data source either the text object with arrow symbols or picture object. Then from the data source tab in "More Options" select the "VB Scripting" tab and enter a conditional statement into the "OnProcessData" event.

Example:

If Field("table.field") = X then
value = "Arrow.jpg"
Else
value = ""
End If
0
Avatar
Legacy Poster
Comment actions Permalink

Hello Ian


Thanks for that. I have also discovered that if you use the Wingdings 3 font in a text field, you can use the 'h' and 'i' characters to print an up and down arrow. I have combined this approach with the VBScript you described earlier.

Regards

Timothy Muir
RFBS

Please sign in to leave a comment.