Hi
I am trying to count records from underlying query with unbounded fields in the criteria and I get of course type mismatch.
[c] = DCount("[Dat]", "PTable", "[ShowMonth] = '" & Me.ShowMonth & "'" And "[ShowYear] = ' " & Me.ShowYear & " '" And [ENT] <> 0 And [EXT] <> 0)
When ShowMonth and ShowYear are unbounded fields .
Do you have any idea how to count records underlying query with underlying query ?
Thanks
I am trying to count records from underlying query with unbounded fields in the criteria and I get of course type mismatch.
[c] = DCount("[Dat]", "PTable", "[ShowMonth] = '" & Me.ShowMonth & "'" And "[ShowYear] = ' " & Me.ShowYear & " '" And [ENT] <> 0 And [EXT] <> 0)
When ShowMonth and ShowYear are unbounded fields .
Do you have any idea how to count records underlying query with underlying query ?
Thanks