
Signature
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
NOTE: gibberish are control names in a foreign language. no problem there.
thanks again for your interest and support
Private Sub NameBottomSection_Format(Cancel As Integer, FormatCount As
Integer)
On Error Resume Next
[ìçééáéí].Visible = (Nz([éúøú îðäì], 0) < 0)
If [éúøú îðäì] = 0 Then
[éúøú îðäì].Visible = False
[úååéú131].Visible = False
Else
[éúøú îðäì].Visible = True
[úååéú131].Visible = True
End If
[äòøåú].RTFtext = Forms("äãôñú ãåçåú").[äòøåú].RTFtext
SetHeight
End Sub
Private Sub ëåúøú_òìéåðä_ùì_÷áåöä0_Format(Cancel As Integer, FormatCount As
Integer)
On Error Resume Next
[ìçééáéí].Visible = (Nz([éúøú îðäì], 0) < 0)
End Sub
Sub SetHeight()
' Height of the current RTF2 Control
Dim Height As Integer
' Max height to allow for multiple RTF2 controls
Dim MaxHeight As Integer
' Init MaxHeight
MaxHeight = 0
Height = Me.[äòøåú].Object.RTFheight
If Height > 0 Then
If Height < 32000 Then
Me.[äòøåú].Height = Height
'Me.Section(acDetail).Height = Me.RTFcontrol.Height + Me.RTFcontrol.Top
If MaxHeight > Me.[äòøåú].Height + Me.[äòøåú].Top Then MaxHeight =
Me.[äòøåú].Height + Me.[äòøåú].Top
End If
End If
' Now set the Detail Section's Height to the Maximum calculated value.
Me.Section("NameBottomSection").Height = MaxHeight
End Sub

Signature
Thankfully, YisMan
> Can you copy and paste here all of the code behind your report?
>
[quoted text clipped - 40 lines]
> >> > >> > interesting the report displays on screen no problem with the RTF
> >> > >> > text
Stephen Lebans - 28 May 2006 23:43 GMT
Comment out the call to resize the control and see if the error still
displays. I thought you could only programmatically resize the Detail
section and not the normal Grouping sections.

Signature
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> NOTE: gibberish are control names in a foreign language. no problem there.
> thanks again for your interest and support
[quoted text clipped - 92 lines]
>> >> > >> > RTF
>> >> > >> > text
YisMan - 29 May 2006 08:36 GMT
done that. still no workie.
same error message

Signature
Thankfully, YisMan
> Comment out the call to resize the control and see if the error still
> displays. I thought you could only programmatically resize the Detail
[quoted text clipped - 96 lines]
> >> >> > >> > RTF
> >> >> > >> > text