Hello, I have a form (frm_YearCalendar) that has two subforms in the footer and I need to enlarge the bottom one after I enlarge the footer. I do not have any issues with 2010 and 2013 Access but 2007 it freezes the database when I click the button to enlarge it.
At first when I clicked the button to enlarge the footer it froze so I tried a diferent code to do that and it works now. I used the below code to fix that:
Me.FormFooter.Height
and replace with
Me.Section(acFooter).Height
I now cant get it not to stop freezing when I try to enlarge the subform using the code below. I have the two lines commented out that are doing it. Any sugestions?
Private Sub cmdresize_Click()
If Me.Section(acFooter).Height = 4188 Then
Me.Section(acFooter).Height = 7700
'Me.frm_AbsenteeismPolicySummarySub.Height = 6000
Else
'Me.frm_AbsenteeismPolicySummarySub.Height = 2000
Me.Section(acFooter).Height = 4188
End If
End Sub
Thanks,
SoggyCashew.....
At first when I clicked the button to enlarge the footer it froze so I tried a diferent code to do that and it works now. I used the below code to fix that:
Me.FormFooter.Height
and replace with
Me.Section(acFooter).Height
I now cant get it not to stop freezing when I try to enlarge the subform using the code below. I have the two lines commented out that are doing it. Any sugestions?
Private Sub cmdresize_Click()
If Me.Section(acFooter).Height = 4188 Then
Me.Section(acFooter).Height = 7700
'Me.frm_AbsenteeismPolicySummarySub.Height = 6000
Else
'Me.frm_AbsenteeismPolicySummarySub.Height = 2000
Me.Section(acFooter).Height = 4188
End If
End Sub
Thanks,
SoggyCashew.....