Unable to change forecolor

A

azu_daioh

Help please. I cannot change the forecolor of my textbox using
the .forecolor property

I want to change the text color to red if the value is greater than
31,999

This is the code snipset:

Me.IncAmtPaid = xIncAmtPaid
Me.IncFirstPay = xIncFirstPay
Me.IncCCPay = xIncCCPay
 
F

fredg

Help please. I cannot change the forecolor of my textbox using
the .forecolor property

I want to change the text color to red if the value is greater than
31,999

This is the code snipset:

Me.IncAmtPaid = xIncAmtPaid
Me.IncFirstPay = xIncFirstPay
Me.IncCCPay = xIncCCPay

What have you tried? The above doesn't do anything.
Anyway, use the control's Conditional formatting property.
Select the control (in Design view)
Format + Conditional Formatting
Set Conditon1 to
Field Value Is
then select
greater then
then enter 31999
in the next box.
Set the color to red.
Save the changes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top