It failed because the bracketing on [strFormName] makes it a domain reference (field, bound control or table). The fact that you don't get any error message makes me think that somewhere prior to this, you turn off warnings. Is that the case? Depending on how such code is written, you can end up turning them off for the entire session without realizing it.
Last edited by Micron; 10-02-2019 at 01:49 PM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.