Change font size of subform and subsubform in datasheet view

C

Carlos

Hi there,

I have coded the After Update event of a combo box to
change the font size of my subform in datasheet view.
Sub

Private Sub cboFont_AfterUpdate()

Forms!frmMain!sfrm1.Form.DatasheetFontHeight =
Me.cboFont.Value

I added a subform (sfrm2) to sfrm1. Why is it that only
the sfrm1 benefits from this code and does not include
sfrm2? How to code a change of fonts for sfrm2? Any advice
will be much appreciated.

Thanks in advance.

Carlos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top