August 15, 200619 yr I'm trying to get a calculation that switches two container graphics. User enters a text and the checkmark switches from black to red. I saw a solution like this before but could not find a post of it. Any Help? Thanks Graphic_Calc.fp7.zip
August 15, 200619 yr Change cTextValidate to: If ( IsEmpty ( Text ) ; cContainer ; cContainer [ 2 ] ) When specifying repetitions, the first repetition is the default if left unspecified.
August 15, 200619 yr Author Hi there again! Thanks! I got it working by guessing but I'm sure its a WRONG way how it is done! Thanks! Thomas Graphic_Calc2.fp7.zip
August 15, 200619 yr I don't have any checkmarks handy, but something like the attached file may work for you. Graphic_Calc.fp7.zip
August 15, 200619 yr Author One more example, color change in text. Is it possible to have a entered value change colors? In this file the "Item in Stock" should change color and not "cCalc", is this possible this way or is it only possible with 2 different colored fields? Text_Color_Change.fp7.zip
August 15, 200619 yr Change calc type to text and it will change when the value changes. You have it as a number and that's why it doesn't work. UPDATE: You can also apply color directly to a standard field by leaving it a standard field and applying your calc under the Auto-Enter tab, via calculation. After you enter your calc, UNCHECK 'Do Not Replace Existing Value' in the Auto-Enter tab. I prefer not to colorize my original text because printing can then look odd. And you can shorten your calculation to: If ( Item in Stock < Item Reorder Level ; TextColor ( Item in Stock ; RGB ( 255 ; 0 ; 0 ) ) ; Item in Stock ) You can use as many colors as you wish - just define them within the calculation ( using a Case statement etc). Edited August 15, 200619 yr by Guest Added update
Create an account or sign in to comment