Never used this function in Access but from what little I've just read, the syntax is StDev(fieldNameHere) or StDevP(fieldNameHere).
As for why it used to work and doesn't now - possibly an Office upgrade. You would not be the first to report that code stopped working after an Access or Office upgrade. It's usually because it was not properly written. Not saying that is your situation, just that I've seen that behaviour before.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.