473,508 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

rich text box

20 New Member
hi,
i need to print the text which had been pasted in my rich text box using button command, is there any way to do that???
Jun 23 '07 #1
4 2250
missinglinq
3,532 Recognized Expert Specialist
What I've done in the past is to set up a Report that consists of just the one field and run the report from the command button. If you've just pasted the data into the field, you'll have to force a Save of the record first. The line
Me.Dirty = False will take care of that.

Good Luck!

Linq
Jun 23 '07 #2
ADezii
8,834 Recognized Expert Expert
hi,
i need to print the text which had been pasted in my rich text box using button command, is there any way to do that???
I do not think that there is a direct method to Print the contents of your Rich Text Box only. I feel as though your easiest option assuming that the Rich Text Box is Data Aware and Bound to a Control Source, is to create a Report which displays this single Field and the Primary Key (invisible) Field only. This Report would have no Headers or Footers, nothing but this single Field would be displayed. It would also be filtered to reflect only the Text in this Field for the Current Record via setting the Where condition to the Primary Key Field of the Form.

NOTE: I'm assuming that you are using the Rich Text Box as an ActiveX Control on an Access Form. If you are attempting this in Visual Basic, then you should post your question there.
Jun 23 '07 #3
ADezii
8,834 Recognized Expert Expert
What I've done in the past is to set up a Report that consists of just the one field and run the report from the command button. If you've just pasted the data into the field, you'll have to force a Save of the record first. The line
Me.Dirty = False will take care of that.

Good Luck!

Linq
Sorry ling, wasn't aware that we had identical replys. Didn't mean to step on your toes.
Jun 23 '07 #4
missinglinq
3,532 Recognized Expert Specialist
Ouch!!!!!!!!!!! ;0)>
Jun 23 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
8635
by: Alfredo Agosti | last post by:
Hi folks, I have an Access 2000 db with a memo field. Into the memo field I put text with bold attributes, URL etc etc What I need to to is converting the rich text contained into the memo...
1
7724
by: PC User | last post by:
I found this Rich Text Editor and I've been trying to recreate it in my own application. I've had trouble with the COMCTL.ImageListCtrl and the COMCTL.Toolbar to recreate the toolbar. And I've...
1
3395
by: Peter | last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am...
4
2748
by: David Davis | last post by:
Woll2Woll has a product for Delphi called Infopower which has a rtf control with a built-in word processor. Does anyone know of a third party control that has the same capabilities. I don't have...
0
2426
by: ray well | last post by:
hi, my app has two parallel rich text boxes containing the same content in 2 different languages. the lines parallel each other, line #3 in english contains the same content as line #3 in...
1
11710
by: tomi.trescak | last post by:
Hi I have a problem with storing rich text in MySQL. I store rich text in MySQL (in column with type "text") which i get from Rich Textbox control. When i do reverse processing by trying to...
9
8272
by: Neil | last post by:
I need to implement a rich text box in an MDB file for a user base that consists of Access 2000 and Access 2002. Unfortunately, I'm using Access 2003 on my development machine. My understanding is...
5
5317
by: ARC | last post by:
Just found out something interesting with Access 2007... In table design, if you set a memo field to the new rich text option, and put that control on a form, set the control to rich text, you can...
4
5447
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
16
11036
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.