P
Phil
Does anyone know how to tchange the color of all fields
in on row of a form?
Using the code below in the CurrentRecord of the form, I
can get a single field's Unique value to turn yellow, but
I also need the entrie row to turn yellow. The fields in
the rest on the row may not be Unique.
Private Sub Form_Current()
Dim fcd As FormatCondition
With Form_frmTransactions_SGH.CCN
With .FormatConditions
.Delete
Set fcd = .Add(acFieldValue, acEqual, "'" &
Form_frmTransactions_SGH.CCN & "'")
fcd.BackColor = vbYellow
End With
End With
End Sub
Thanks, phil
in on row of a form?
Using the code below in the CurrentRecord of the form, I
can get a single field's Unique value to turn yellow, but
I also need the entrie row to turn yellow. The fields in
the rest on the row may not be Unique.
Private Sub Form_Current()
Dim fcd As FormatCondition
With Form_frmTransactions_SGH.CCN
With .FormatConditions
.Delete
Set fcd = .Add(acFieldValue, acEqual, "'" &
Form_frmTransactions_SGH.CCN & "'")
fcd.BackColor = vbYellow
End With
End With
End Sub
Thanks, phil