Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Color Based On A Database Value

Status
Not open for further replies.

RV76

Programmer
Jan 20, 2004
3
US
Is there a way I can change the color of a actuate report field based on a database value? For example, I want the font to be in red color if the value is "Y".
 
Right Click the relevant text object
Select the methods tab.
Select the Sub(On Row)Method
Select Override

After the 'Insert Code Here line and before the End Sub line;
Dim A Variable as String
Variable = row.getvalue("db field")

If Variable = "Y" Then
Font.color = Red
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top