G
Guest
How do I format the last part of my DCount statement (Pri_responsible =
[lstReport].[Column](1)
Are there quotes or how would this work?
rptCount = DCount("[Auto]", "tblPI", "status = 'Open' And IsNull(Email2) =
True And ([Email1] < Date() - [Time1])And UserName = " & "'" & Me.txtUser &
"'" And Pri_responsible = [lstReport].[Column](1))
TIA
[lstReport].[Column](1)
Are there quotes or how would this work?
rptCount = DCount("[Auto]", "tblPI", "status = 'Open' And IsNull(Email2) =
True And ([Email1] < Date() - [Time1])And UserName = " & "'" & Me.txtUser &
"'" And Pri_responsible = [lstReport].[Column](1))
TIA