Hi Guys,
Got this weird problem...
Wen I enter the following coding (to change a texts color) on its own, into a Reports 'OnOpen' event it works fine;
Me.Actual_Start_Date.ForeColor = 65280
However, as soon as I enter it as part of an If Statement on the same event;
If Forms![Actual Search].Form![OptStart] = 1 And Forms![Actual Search].Form![OptEnd] = 1 Then
Me.RecordSource = "Early_Early"
Me.Actual_Start_Date.Fore Color = 65280
Me.Actual_End_Date.Fore Color = 65280
End If
It no longer works. Does anybody know why this might b??
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Got this weird problem...
Wen I enter the following coding (to change a texts color) on its own, into a Reports 'OnOpen' event it works fine;
Me.Actual_Start_Date.ForeColor = 65280
However, as soon as I enter it as part of an If Statement on the same event;
If Forms![Actual Search].Form![OptStart] = 1 And Forms![Actual Search].Form![OptEnd] = 1 Then
Me.RecordSource = "Early_Early"
Me.Actual_Start_Date.Fore Color = 65280
Me.Actual_End_Date.Fore Color = 65280
End If
It no longer works. Does anybody know why this might b??
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)