Discussion Locked

Changing the forecolor in current field

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Access form that looks like a data sheet, and with row and columns. How do I change the one amount field if credit to have the forecolor of red with out changing the whole column of amounts to red?

3 replies

by achp

In constructor mode, select that field and use the "Format" property to specify the proper data format.

For numbers, data format consists of up to three parts separated by semicolons. The 1st part is used to format positive numbers, the 2nd is for negative numbers, the 3rd is for zero values. For example:


    #,##0.00;-#,##0.00[Red];""

- means: use thousand separator, show two figures after the period; if the number is negative, show it in red; if the number is equal to zero, show nothing.

This discussion is closed to new replies.