lebans rtf2 maximum lines or characters

  • Thread starter Thread starter matthias greier
  • Start date Start date
M

matthias greier

Hi!

I've got a rtf2-memo from www.lebans.com, thanks, stephen!, and there are a
bit more than 36.000 characters in it.

i can't add any more characters.
are there any limitations?

if i display the table-content in a non-rtf2 normal textbox, i can still add
things.
so no limitation from the table.


i also tried to set the "max characters" option in the rtf2-preferences,
nothing different.



thank you very much in advance

matthias
austria/europe
 
I suggest you email Stephen Lebans. He's always responded to my questions
about his code.
 
Hi!

Thats what I did not want to do... Because, he's reading this group.
So everyone can see the answer..
 
Thanks Matthias, I prefer to keep things in the NG's.

Do you have any Images stores in the RTF stream?

Try setting the MaxChar prop in the form's Load event rather than the RTF2
control's Property sheet.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi!

I can set the MaxCharactersAllowed to 120000 on form load.
Then I can write more to the textbox, but after closing the form it says:
Runtime-Error 6.
"Overflow"

Any other ideas?

thanks
matthias
 
okay, my fault.
this was my cursor position variable declared as integer, changed it to
long, no error left.
but if i reopen the form, the things i haved added in the rtf, are no more
in it.

thanks
 
Are you saving the record before you close the form?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi!

I do net save it, because in this field tehres the direct connection to the
table.
I just close the form with Docmd.Close

A normal Textbox connected to the memo field displays the whole rtf text.
the rtf-box stops after a certain character, after reopening the form.

thanks
 
Ummm Matthias, you need to save the changes you make.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hm?
How can I save this, if I have a connected field?!
Normally you do not have to save anything?
It works with the textboc without saving.

thanks
 
Back
Top