Hii Sing Chung
2008-10-14 10:40:17 UTC
Hi,
Does anyone know if VFP 9 can do this: Disable or enable a button during
runtime based on the logged on AD user account (best if can based on the
user group). For example I have a program that has a centralized form
containing buttons that call other subprograms, I would to enable the
buttons 'PO entry' when the current user belongs to the AD group of
'procurement' and disable the 'PO confirmation' button, whereas if the
current user belongs to the AD group of 'finance', disable the 'PO entry'
button but enable the 'PO confirmation' button. Can it be done?
Sing Chung
Does anyone know if VFP 9 can do this: Disable or enable a button during
runtime based on the logged on AD user account (best if can based on the
user group). For example I have a program that has a centralized form
containing buttons that call other subprograms, I would to enable the
buttons 'PO entry' when the current user belongs to the AD group of
'procurement' and disable the 'PO confirmation' button, whereas if the
current user belongs to the AD group of 'finance', disable the 'PO entry'
button but enable the 'PO confirmation' button. Can it be done?
Sing Chung