llegaspi
asked on
Enabling and disabling controls on switchboard form
First question is how do I create a switchboard without usingt the wizard ? if I have a switchboard and how do I disable buttons based
on users workgroup?
on users workgroup?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
But how do I disable buttons based on user's login
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Routinet,
Where do I put this code? i have no clue.
Thanks,
Lourdes
Where do I put this code? i have no clue.
Thanks,
Lourdes
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To get to the OnLoad event for the form, open the form in design mode... move your mouse to the box in the upperleft corner of the window and right-click ... select 'Build Event' and choose "code builder" .. this will automatically place you in the OnLoad event of the form.
cmdGo.enabled = true
cmdGo.enabled = false