Hi
The problem I am having is when I use the parameter passed by the function as a control name. Any ideas?
Public Function EmpAgeCheckRed(txtField As Control)
Dim RedColor As Long
RedColor = RGB(255, 0, 0)
Me![txtField].BorderColor = RedColor
End Function
Thanks in advance
wah
The problem I am having is when I use the parameter passed by the function as a control name. Any ideas?
Public Function EmpAgeCheckRed(txtField As Control)
Dim RedColor As Long
RedColor = RGB(255, 0, 0)
Me![txtField].BorderColor = RedColor
End Function
Thanks in advance
wah