I have a command button on a form that should not be accessible unless there is a table selected. I am attempting to use a expression that will evaluate to false in the WHEN event when no table is selected:
NOT EMPTY(thisform.combo1.Value)
The message I get is "Error in line 7 of Form1.Command1.When (record 7): Unrecognized command verb."
Even with a .f. as the expression I get the same message. Am I giving the fox something she doesn't like or am I working with some bad assumption?
Thanks in advance for any help,
Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Is there a RETURN statement in front of the NOT?
On March 4, 2016 10:20:09 PM EST, Joe Yoder joe@wheypower.com wrote:
I have a command button on a form that should not be accessible unless there is a table selected. I am attempting to use a expression that will evaluate to false in the WHEN event when no table is selected:
NOT EMPTY(thisform.combo1.Value)
The message I get is "Error in line 7 of Form1.Command1.When (record 7): Unrecognized command verb."
Even with a .f. as the expression I get the same message. Am I giving the fox something she doesn't like or am I working with some bad assumption?
Thanks in advance for any help,
Joe