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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forecolor change

Status
Not open for further replies.

DanNorris2000

Technical User
Nov 10, 2000
186
0
0
US
I cant seem to find a good example of this in the VFP 6.0 manuals. I have a field called ledger.netdue, if negative I would like the field to be displayed in a red font.
IF ledger.expbrkg < 0 ,
ledger.expbrkg.ForeColor[255,0,0]
endif ?
 
Thanks Rick...what I found was the problem was that I was trying to add code to the field rather than adding the code in the header of the detail section of the report. When I put the If statement as an on format event, it worked great. Thanks for trying to help...this learning process is tough!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top