M
Mike H
Hi, I am trying to sort out a problem for someone... They have a series of
reports based on queries that get all their data from one large table.
One report conains a series of text boxes, each using DCount in a
straightforward way.
The query chooses its data according to 2 dates and a client name which are
all in drop-downs on a form.
The query always works OK, regardless of what is selected in the form
The Report works fine regardless of what is selected in the form (so the
expressions in the text boxes are all correct)... EXCEPT that one client
causes #Error to appear in some of the text boxes. It does it for that
client regardless of which date range is set (even though the data for
January has no intersection with the data for March).
And to make it even weirder, one DCount counts all the data, and has no
problem; while the DCount next to it which counts a sub-set of that same
data displays #Error
I am lost for an explanation - any ideas?
P.S. They are using Access 2000 on a Windows XP machine.
Thank you
reports based on queries that get all their data from one large table.
One report conains a series of text boxes, each using DCount in a
straightforward way.
The query chooses its data according to 2 dates and a client name which are
all in drop-downs on a form.
The query always works OK, regardless of what is selected in the form
The Report works fine regardless of what is selected in the form (so the
expressions in the text boxes are all correct)... EXCEPT that one client
causes #Error to appear in some of the text boxes. It does it for that
client regardless of which date range is set (even though the data for
January has no intersection with the data for March).
And to make it even weirder, one DCount counts all the data, and has no
problem; while the DCount next to it which counts a sub-set of that same
data displays #Error
I am lost for an explanation - any ideas?
P.S. They are using Access 2000 on a Windows XP machine.
Thank you