G
Guest
I have a simple 'if' statement in the Detail_Format subroutine of an Access
2002 report:
If Me.EXPIRED_DT < Date Then
With Me.Check14
.Value = True
.Visible = True
End With
Else
With Me.Check14
.Value = False
.Visible = False
End With
End If
It worked fine until yesterday, when I attempted to add:
Me.EXPIRED_DT.Forecolor = vbred
when the EXPIRED_DT is < Date, and:
Me.EXPIRED_DT.Forecolor = vbblack
when it's not.
I added these lines, ran the report, and Access crashed. I removed the
lines, and Access still crashes when I run this report. What's worse, this
report is actually a subreport to several other reports, so now none of them
work.
When Access dies, it backs up the db, compacts and repairs it, then reopens
the new version, but the error continues to occur. The error report claims
the problem is with an offset in mso.dll, which, of course, is of no help to
me.
Any ideas>
2002 report:
If Me.EXPIRED_DT < Date Then
With Me.Check14
.Value = True
.Visible = True
End With
Else
With Me.Check14
.Value = False
.Visible = False
End With
End If
It worked fine until yesterday, when I attempted to add:
Me.EXPIRED_DT.Forecolor = vbred
when the EXPIRED_DT is < Date, and:
Me.EXPIRED_DT.Forecolor = vbblack
when it's not.
I added these lines, ran the report, and Access crashed. I removed the
lines, and Access still crashes when I run this report. What's worse, this
report is actually a subreport to several other reports, so now none of them
work.
When Access dies, it backs up the db, compacts and repairs it, then reopens
the new version, but the error continues to occur. The error report claims
the problem is with an offset in mso.dll, which, of course, is of no help to
me.
Any ideas>