M
Mark Kubicki
I want to check if a YES value exists for the field [Flaged] (data type:
yes/no) anywhere in the table "tblProjectSchedule", which is data source for
the report.
Then, if so, display a label (lblFlaged) in the footer.
To do this, I entered this code which produced an error: "you cancelled the
previous operation"
(I may simply have it in the wrong section, but have not been able to tell
which is the correct one... any suggestions would be greatly appreciated...
Private Sub ReportFooter_Format(Cancel As Integer, FormatCount As Integer)
varX = DLookup("[Flaged]", "tblProjectSchedule", "[Flaged] = vbTrue")
me.lblFlaged.visible = varX
End Sub
as always, thanks in advance,
mark
yes/no) anywhere in the table "tblProjectSchedule", which is data source for
the report.
Then, if so, display a label (lblFlaged) in the footer.
To do this, I entered this code which produced an error: "you cancelled the
previous operation"
(I may simply have it in the wrong section, but have not been able to tell
which is the correct one... any suggestions would be greatly appreciated...
Private Sub ReportFooter_Format(Cancel As Integer, FormatCount As Integer)
varX = DLookup("[Flaged]", "tblProjectSchedule", "[Flaged] = vbTrue")
me.lblFlaged.visible = varX
End Sub
as always, thanks in advance,
mark