J
jryder
I'm having a trouble resizing the detail height using this code on
Detail_Format:
If IsNull(Me.ImagePath) Or IsEmpty(Me.ImagePath) Or Me.ImagePath = "" Then
Me.Detail.Height = 0.4063 * 1440
Me.Image15.Visible = False
Me.Image15.Height = 0.2813 * 1440
Else
Me.Detail.Height = 1.3958 * 1440
Me.Image15.Visible = True
Me.Image15.Picture = Nz(Me.ImagePath, "")
Me.Image15.Height = 1 * 1440
End If
Even when a image is not displayed, the formated detail height is greater
than 0.4063 * 1440.
Can somebody tell me why this isn't working? There are no other controls
that would prevent
Detail.Height from shrinking to 0.4063 * 1440.
Detail_Format:
If IsNull(Me.ImagePath) Or IsEmpty(Me.ImagePath) Or Me.ImagePath = "" Then
Me.Detail.Height = 0.4063 * 1440
Me.Image15.Visible = False
Me.Image15.Height = 0.2813 * 1440
Else
Me.Detail.Height = 1.3958 * 1440
Me.Image15.Visible = True
Me.Image15.Picture = Nz(Me.ImagePath, "")
Me.Image15.Height = 1 * 1440
End If
Even when a image is not displayed, the formated detail height is greater
than 0.4063 * 1440.
Can somebody tell me why this isn't working? There are no other controls
that would prevent
Detail.Height from shrinking to 0.4063 * 1440.