Hi Bob,
>Thanks Mike...but the text box contains calculated values so I guess I have to display them in a text bix?
I suppose, maybe a combo style 0 might work. In that case you wil ahev to change your code to:
this.forecolor=iif(this.value=1, rgb(255,0,0), iif(this.value=2, rgb(0,0,255),rgb(255,255,255))
That will make sure you have a 1 or a 2 instead of just a 1.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only