Greg Hains Posted June 18, 2007 Posted June 18, 2007 Hi. I aplogise for boring some of you with a simple question, but between the three FmPro books I have here, I cannot work out how to do this. I have several small images (16 x 16 pixels) that are essentially LED indicators. I want to be able to use these in rows of data to indicate various conditions of data - eg overdue dates, inactive job etc etc. There are, lets say, 7 records (images). 1 off/inactive LED, and 6 brightly colored ones. I can create a table with a container field in which I can insert those images into, but cannot quite get my head around how to use them again. As each record may have 4 indicators alongside the text field to display various conditions, Im not sure how to set conditions on the container fields in the layout to display the indicator as required. I dont expect a full-on solution, but some tips as to how I can choose various graphics under various conditions. A pointer to a sample database or web page would be great. Thanks peoples. Greg
comment Posted June 18, 2007 Posted June 18, 2007 Put the images in a global repeating field (in any table). Use a calculation field, with Container as the result, to select the repetition number, e.g. GetRepetition ( gImages ; Case ( ; 2 ; ; 5 ; 1 ) ) You could even use one repeating calculation field to select all 4 indicators. BTW, using colored text bullets instead of images would be both simpler and faster.
Greg Hains Posted June 18, 2007 Author Posted June 18, 2007 Hi. Thanks for that, I will givve it a shot. Cheers, Greg
Recommended Posts
This topic is 6428 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now