P
Phil
Hello
I am trying to use Dcount in a text box on an unbound form to count the
number of records that match criteria for a given date like this:
=DCount("[Field]","This Table","[Field] = 'This String' and [Start
Date] ># 23/3/2001#")
Looking for occurrences of 'This String' in the 'Field' of 'This
Table' that have a Start Date > than 23/3/2001. So fa so good and this
works OK. What I would like to do is replace the date (#23/3/2001#)
with a Combo box control that has the date in it. Something like this:
=DCount("[Field]","This Table","[Field] = 'This String' and [Start
Date] >[CboStartDate]")
No matter how much I try and change the end part I can't get it to
work. Can anybody tell me if this is possible and if so how to do it?
Thanks in anticipation.
I am trying to use Dcount in a text box on an unbound form to count the
number of records that match criteria for a given date like this:
=DCount("[Field]","This Table","[Field] = 'This String' and [Start
Date] ># 23/3/2001#")
Looking for occurrences of 'This String' in the 'Field' of 'This
Table' that have a Start Date > than 23/3/2001. So fa so good and this
works OK. What I would like to do is replace the date (#23/3/2001#)
with a Combo box control that has the date in it. Something like this:
=DCount("[Field]","This Table","[Field] = 'This String' and [Start
Date] >[CboStartDate]")
No matter how much I try and change the end part I can't get it to
work. Can anybody tell me if this is possible and if so how to do it?
Thanks in anticipation.