There is/was a problem with 2010/2013 in that calculated fields, such as
=DCount("[Album ID]","Album")
would only update by either tabbing/clicking into the textbox or by closing/re-opening the form, and this sounds very much like the situation you're describing. There is, I believe, a service pack that addresses this issue, among others, but I don't have the S/P number or download location, as I run 2007 and have no need for it. As odd as it may sound, the immediate fix (and this will also serve to test whether or not this is your problem) is to simply do a cold reboot of your PC! The problem reportedly occurs when the PC has been up and running for an extended period of time.
As to
Originally Posted by
tatihulot
...Have I written the DCOUNT formula incorrectly...
Normally, when using DCount to count all Records (which is what you're doing, here, assuming that there is a Record for each album) you'd use
=DCount("*","Album")
The problem with using a Field, such as you did with
=DCount("[Album ID]","Album")
is that any Record where [Album ID] is Null will not be included in the count.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007