G
Guest
I'm replicating a DCount sum (that I have used before and which works) in a
new report control source with a different field from the same table - it is
now returning #Error in the field box when I run the report. The sum is
exactly the same except the field name and record have changed. Here is the
new (unworking) syntax:
=DCount("[SNT Ward / Borough]","[Master Table]","[SNT Ward /
Borough]=Bedford")
SNT Ward/ Borough being the field name; Master Table being the table name
and Bedford being the record name. The following is the old code for a
different report that works:
=DCount("[ASBO Began]","[Master Table]","[ASBO Began]=TRUE")
Is anyone able to tell me why this sum isn't working for my new report?
Please help. Thanks.
new report control source with a different field from the same table - it is
now returning #Error in the field box when I run the report. The sum is
exactly the same except the field name and record have changed. Here is the
new (unworking) syntax:
=DCount("[SNT Ward / Borough]","[Master Table]","[SNT Ward /
Borough]=Bedford")
SNT Ward/ Borough being the field name; Master Table being the table name
and Bedford being the record name. The following is the old code for a
different report that works:
=DCount("[ASBO Began]","[Master Table]","[ASBO Began]=TRUE")
Is anyone able to tell me why this sum isn't working for my new report?
Please help. Thanks.