Disabling buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce927
    New Member
    • Aug 2011
    • 23

    #1

    Disabling buttons

    I have a form with a list box control that passes a person’s name to be filtered into a query. I have several buttons that open different queries. How can I get the button to deactivate if a person’s name is not an action party of the query? For example Joe may have actions for Query “A” and “C” but not “B”. I want button B to deactivate when Joe's name is selected from the list.
    but some time in the future Joe may have action on "B",
    Last edited by Bruce927; Feb 4 '14, 06:42 PM. Reason: the Action item list is not static, nor are the queries.
  • Honduras2811
    New Member
    • Apr 2014
    • 21

    #2
    Read Joe's action party record If he isn't in action group B

    Code:
        cmdB.Enabled = False

    Comment

    Working...