Connecting Tech Pros Worldwide Forums | Help | Site Map

Blocking form changes

John
Guest
 
Posts: n/a
#1: Jun 17 '06
Hi

I have a main form with a sub form (Subform1). The sub form only has a tab
control on it and then each tab in turn has a sub form on it. I am trying to
block one of the sub forms on the tab control, so I have tried this;

Forms![Main]![SubForm1].Form![SubSubForm1].Form.AllowEdits = False

But this has not worked. Any ideas?

Thanks

Regards



rkc
Guest
 
Posts: n/a
#2: Jun 17 '06

re: Blocking form changes


John wrote:[color=blue]
> Hi
>
> I have a main form with a sub form (Subform1). The sub form only has a tab
> control on it and then each tab in turn has a sub form on it. I am trying to
> block one of the sub forms on the tab control, so I have tried this;
>
> Forms![Main]![SubForm1].Form![SubSubForm1].Form.AllowEdits = False
>
> But this has not worked. Any ideas?[/color]

Doesn't work as in throws an error or it just doesn't
set the AllowEdits property? The syntax looks correct.

Have you tried referencing a control to see if that works?
Ron2006
Guest
 
Posts: n/a
#3: Jun 19 '06

re: Blocking form changes


On what event are you placing that instruction?

rkc wrote:[color=blue][color=green]
> > Forms![Main]![SubForm1].Form![SubSubForm1].Form.AllowEdits = False
> >[/color][/color]

Closed Thread