lebans rtf2 maximum lines or characters

  • Thread starter matthias greier
  • 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
 
B

Bill Mosca

I suggest you email Stephen Lebans. He's always responded to my questions
about his code.
 
M

matthias greier

Hi!

Thats what I did not want to do... Because, he's reading this group.
So everyone can see the answer..
 
S

Stephen Lebans

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.
 
M

matthias greier

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
 
M

matthias greier

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
 
S

Stephen Lebans

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.
 
M

matthias greier

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
 
S

Stephen Lebans

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.
 
M

matthias greier

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top