A
Al Chan
The normal way of enabling a button so the user can click on it at the form
level is:
expression.enabled = true
eg. cmdMyButton.enabled = true
This makes the button active and not greyed out.
Say you wanted to add a bit of security to the buttons on the forms, and
only some are enabled and some are not, depending what user you log into the
system as. I'm having a problem where we store all the "cmd*" command
buttons in a table, and i can't seem to get the code to supply an value from
the table, into the expression.enabled = true to run. This would be easier
because we can manage who gets what access to what on the forms. So the main
question is, is there a way to pass in a value from a table, into the
expression?
level is:
expression.enabled = true
eg. cmdMyButton.enabled = true
This makes the button active and not greyed out.
Say you wanted to add a bit of security to the buttons on the forms, and
only some are enabled and some are not, depending what user you log into the
system as. I'm having a problem where we store all the "cmd*" command
buttons in a table, and i can't seem to get the code to supply an value from
the table, into the expression.enabled = true to run. This would be easier
because we can manage who gets what access to what on the forms. So the main
question is, is there a way to pass in a value from a table, into the
expression?