Hi All!!!
On a form I am using a subform that lists rows. As the subform Detail_Paint event is called I have this code:
If IsNull(Me.txtPart.Value) = True Then
Me!txtPartNumber.BackColor = RGB(255, 255, 153)
Else
Me!txtPartNumber.BackColor = RGB(255, 255, 255)
End If
This works fine for 3,4,5 selection changes and then it gives an error:
Run_Time error 2424.
The expression you entered has a field, control or property name that Microsoft Access can't find.
Should I be using another event? I don't know why it works and then fails.
Any ideas?
Thanks!
Joel
Joel
On a form I am using a subform that lists rows. As the subform Detail_Paint event is called I have this code:
If IsNull(Me.txtPart.Value) = True Then
Me!txtPartNumber.BackColor = RGB(255, 255, 153)
Else
Me!txtPartNumber.BackColor = RGB(255, 255, 255)
End If
This works fine for 3,4,5 selection changes and then it gives an error:
Run_Time error 2424.
The expression you entered has a field, control or property name that Microsoft Access can't find.
Should I be using another event? I don't know why it works and then fails.
Any ideas?
Thanks!
Joel
Joel