[AccessD] Form Validation
Stuart McLachlan
stuart at lexacorp.com.pg
Sat Oct 29 20:19:46 CDT 2022
On 30 Oct 2022 at 10:52, Stuart McLachlan wrote:
> EVAL() is a totally different thing. All it can work with are values
> and operators. It knows nothing about Object models such as Forms and
> controls. .
I was mistaken.
It DOES know about object models. But it needs a fully qualified object reference.
It just can't evaluate the reference "me".
This works:
'MsgBox Eval("Len(Forms!Form1!Text0) > 0")
this doesn't:
MsgBox Eval("Len(Me!Text0) > 0")
More information about the AccessD
mailing list