I have master/detail form type. on my detail section I have control tab. on one of these tabs I have the subform.
for simplicity I called the master form x, the control tab y, and subform on tab is z.
I am trying to set the allowedit property to false on the subform if the user who login is not the admin. I have no problem setting the properties allowedits on master form to false, but it does not let me set the allowedits property on the subform. below is the command I am using
if user <> admin then
Form_x.Allowedits = False .....this is works fine
Form_z.AllowEdits = False ..... this is not
else
Form_x.Allowedits = True ..... Works fine
Form_z.AllowEdits = True ..... Nop
endif
Any Ideas
thank you.
for simplicity I called the master form x, the control tab y, and subform on tab is z.
I am trying to set the allowedit property to false on the subform if the user who login is not the admin. I have no problem setting the properties allowedits on master form to false, but it does not let me set the allowedits property on the subform. below is the command I am using
if user <> admin then
Form_x.Allowedits = False .....this is works fine
Form_z.AllowEdits = False ..... this is not
else
Form_x.Allowedits = True ..... Works fine
Form_z.AllowEdits = True ..... Nop
endif
Any Ideas
thank you.