-----Original Message-----
Greta,
Yes. And No. It depends.
What version of Access?
Continuous Form view?
Single Form View?
Form Datasheet View?
For Access 2000 and later, you can set the control's
Conditional Formatting property.
Set the Condition 1 drop-down box to
IsNull([ThisfieldName])
Select the color from the color selection tool button.
For Access 97 this built-in formatting is not available for continuous or
form datasheet view.
For Single Form view, you can code both the Form's Current event and the
DateField's after Update event:
If IsNull([DateField]) Then
[DateField].BackColor = 12632256 'Gray
Else
[DateField].BackColor = vbWhite
End If
Take a look at
http://www.lebans.com
and see if he has something for Access 97 continuous and form datasheet
view.
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.
Greta said:
I have a form with date fields. If no date is entered I
want the BackColor to be gray. Does anyone know how to do
that?
Thanks,
Greta
.