Hey Gang,
I am building a database that tracks insurances on Facilities my company owns and we have to monitor for compliance. There are 11 type of insurance for each facility. I want to write some code that will cause a Label to flash when the [InsuranceReq] field is greater than the [InsuranceCov] field. The label will be on the parent form and the fields on a subform. I have tried this but to no avail:
Private Sub Form_Current()
If Me![frmFacIns].Form [InsuranceReq] > [InsuranceCov] Then
Me.TimerInterval = 300
Else
Me.TimerInterval = 0
Me.lblFlag.ForeColor = vbBlack
End If
I am new to the programming stuff so any help would be great.
Thanks,
Dan