I’m trying to do get a total count between two fields: [Appointment Kept] and [Internet Source]. The name of the table is “BDC Info Table”.
I have this expression which works perfectly in the Report Footer (Grand Totals)
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA'")
When I type the same expression in the Group Total, it gives the same number. It doesn’t calculate as a group Total (the group name is Location Name). I tried all kind of possibilities and all my attempts failed. ex:
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA' and [Location Name]")
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA' and [Location Name] = & [Location Name]")
If you have any suggestions will be greatly appreciated.
Thank you in advance.
Comp2008
I have this expression which works perfectly in the Report Footer (Grand Totals)
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA'")
When I type the same expression in the Group Total, it gives the same number. It doesn’t calculate as a group Total (the group name is Location Name). I tried all kind of possibilities and all my attempts failed. ex:
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA' and [Location Name]")
Code:
=DCount("*","[BDC Info Table]","[Appointment Kept] = True And [Internet Source] = 'AutoUSA' and [Location Name] = & [Location Name]")
If you have any suggestions will be greatly appreciated.
Thank you in advance.
Comp2008