This is part of a code on a form I use to change the color of the field base on whether the record is new or not. I want to change other fields on the form the same way. Do I have to list each field like I did the [To] field or is the a way to tell the form if this is a new record make all controls or text boxes on the form a certain color? Just looking for a shortcut. Thanks..
If Me.NewRecord Then
[To].BackColor = 16777215
Else
[To].BackColor = 9868950
If Me.NewRecord Then
[To].BackColor = 16777215
Else
[To].BackColor = 9868950