D
Donna
I have a report where it lists the number of meetings a person attended in
2005 in a text box titled "mtg2005." It lists the number of meetings a
person attended in 2006 in "mtg2006". Then it lists the monthly meetings
attended in 2007 in "MtgDate".
I am trying to figure out how to create a report that will somehow make
stand out the meeting date of a person's first meeting. I don't care about
2005 & 2006. This is an inherited database & I don't feel like going back &
entering all those dates in each person's name so I just did a count on those
years. But for this year and future years, I would like to have the date of
each meeting and be able to show which date is the first meeting they ever
attended. So far I have this in the on format eventof the detail section:
If Me.Mtg2005 Is Null Then
If Me.Mtg2006 Is Null Then
If Me.MtgDate.Properties.Count = 1 Then
Me.MtgDate.ForeColor = 255
Else
Me.MtgDate.ForeColor = vbWhite
End If
End If
End If
I get an error code that says an object is required.
Even if the code did work, however, the next month the report is run, if the
person attended that month also, the report would no longer highlight the
first meeting date because now the count would be 2.
Any ideas and help would be appreciated.
2005 in a text box titled "mtg2005." It lists the number of meetings a
person attended in 2006 in "mtg2006". Then it lists the monthly meetings
attended in 2007 in "MtgDate".
I am trying to figure out how to create a report that will somehow make
stand out the meeting date of a person's first meeting. I don't care about
2005 & 2006. This is an inherited database & I don't feel like going back &
entering all those dates in each person's name so I just did a count on those
years. But for this year and future years, I would like to have the date of
each meeting and be able to show which date is the first meeting they ever
attended. So far I have this in the on format eventof the detail section:
If Me.Mtg2005 Is Null Then
If Me.Mtg2006 Is Null Then
If Me.MtgDate.Properties.Count = 1 Then
Me.MtgDate.ForeColor = 255
Else
Me.MtgDate.ForeColor = vbWhite
End If
End If
End If
I get an error code that says an object is required.
Even if the code did work, however, the next month the report is run, if the
person attended that month also, the report would no longer highlight the
first meeting date because now the count would be 2.
Any ideas and help would be appreciated.