alvingenius
IT Specialist
- Local time
- Today, 13:48
- Joined
- Jul 10, 2016
- Messages
- 169
Hello
i've main form named "frmMaster" and it have Navigation form with tabs and a tab button named "Profile" to open subform named "subProfile" inside navigation form
this subform is opened directly when i open "frmMaster" because it's in the first tab
and i'm trying to do a permissions stuff to edit "Profiles" in this subform "SubProfile" based on current logged user
my issue is ! that i want to disable editing on this subform for someusers
and i've already disabled the tab button named " Navprofile" !! but it's already opening the subform
for that i want to disable edits on this subform too
i've used :
to disable the tab button from access
i want a code to disable the subform linked in this button
P.s
the navigation form have 5 tabs , means i dont wanna disable the whole navigation form
Thanks
i've main form named "frmMaster" and it have Navigation form with tabs and a tab button named "Profile" to open subform named "subProfile" inside navigation form
this subform is opened directly when i open "frmMaster" because it's in the first tab
and i'm trying to do a permissions stuff to edit "Profiles" in this subform "SubProfile" based on current logged user
my issue is ! that i want to disable editing on this subform for someusers
and i've already disabled the tab button named " Navprofile" !! but it's already opening the subform
for that i want to disable edits on this subform too
i've used :
Code:
Forms!frmMain!Navprofile.Enabled = False
i want a code to disable the subform linked in this button
P.s
the navigation form have 5 tabs , means i dont wanna disable the whole navigation form
Thanks