Text box properties on subreports

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

Guest

Is it possible to globally control the properties of all text boxes on all
subreports contained in a main report ,to set width, fontsize, left etc. in
case the these properties needed to be modified? In the case the user wants
the font to be bold instead of regular, for instance.
 
JoeA2006 said:
Is it possible to globally control the properties of all text boxes on all
subreports contained in a main report ,to set width, fontsize, left etc. in
case the these properties needed to be modified? In the case the user wants
the font to be bold instead of regular, for instance.


No. Each control must use its own properties. OTOH, you
can use a loop to set the properties in the form's Open or
Load event:
For Each ctl in Me.Controls
If ctl.ControlType = acTextbox Then
'set properties here
End If
Next ctl
 
Back
Top