Can you copy and paste here all of the code behind your report?
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Yes, and BTW the message appears for each occurence of that section as
its
passed to the printer
--
Thankfully, YisMan
:
the format event of the bottom section of a grouping.
thanks again
very nice of you to be supplying support as well
--
Thankfully, YisMan
:
Which event are you calling this code from?
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
i switched to working directly:
me.[txnotes].RTFtext = Forms("PrintOptions").[txnotes].RTFtext
but i get the same message
please advise
and BTW, thanks for making your great control freely available
--
Thankfully, YisMan
:
That error is generated when you try to set a Property of the RTF
control
before the control is fully instantiated(created). But you state
that you
are calling this code from the Format event of the section
containing the
control so it must be another issue.
Why are you programmatically creating an instance of the control?
Why not
simply set the actual/existing RTF control's RTFtext property
directly>
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
hi eveyone
i have a RTF2 control on a form and one on a report
if i fill the reports' control with this syntax in the bottom
sections'
format event:
Dim rtNotes As Object
Set rtNotes = [txNotes]
rtNotes.RTFtext = Forms("PrintOptions").[txnotes].RTFtext
SetHeight 'mr. lebans autosize function
then at printing i get a message "property read only"
interesting the report displays on screen no problem with the
RTF
text