unbound textbox in subform not allowing input

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an unbound textbox that will not allow input entry when the form is open as a subform

What's up with this

Thanks
B
 
Hi,


I would try, in the Load event, to lock (or disable) the text controls
if the form has a parent:

Dim IsUseAsSubFom As Boolean

On Error Resume Next
Me.Parent
IsUseAsSubFom = CBool( 0=Er.Number)

Me.Control1.Locked= IsUseAsSubFom
Me.Control2.Locked= IsUseAsSubFom


Hoping it may help,
Vanderghast, Access MVP
 
Back
Top