R
Rick
I have a user who is working with Access97. He said that
recently when he runs the following piece of code he gets
the following error- runtime error - "62506"
The code which he said was not changed and ran fine before
is:
Here is the code
Private Sub Detail1_Format(Cancel As Integer, FormatCount
As Integer)
If [Project Days Variance] < 0 Then
[Project Days Variance].BackColor = 0
[Project Days Variance].ForeColor = 16777215
Else
[Project Days Variance].BackColor = 16777215
[Project Days Variance].ForeColor = 0
End If
If [Dev Cost Variance] < 0 Then
[Dev Cost Variance].BackColor = 0
[Dev Cost Variance].ForeColor = 16777215
Else
[Dev Cost Variance].BackColor = 16777215
[Dev Cost Variance].ForeColor = 0
End If
End Sub
If anyone can figure out why this code is no longer
working, I would appreciate it very much! Please e-mail
me at (e-mail address removed)
recently when he runs the following piece of code he gets
the following error- runtime error - "62506"
The code which he said was not changed and ran fine before
is:
Here is the code
Private Sub Detail1_Format(Cancel As Integer, FormatCount
As Integer)
If [Project Days Variance] < 0 Then
[Project Days Variance].BackColor = 0
[Project Days Variance].ForeColor = 16777215
Else
[Project Days Variance].BackColor = 16777215
[Project Days Variance].ForeColor = 0
End If
If [Dev Cost Variance] < 0 Then
[Dev Cost Variance].BackColor = 0
[Dev Cost Variance].ForeColor = 16777215
Else
[Dev Cost Variance].BackColor = 16777215
[Dev Cost Variance].ForeColor = 0
End If
End Sub
If anyone can figure out why this code is no longer
working, I would appreciate it very much! Please e-mail
me at (e-mail address removed)