mohit
May 1st, 2004, 07:05 AM
Dear Sir / Madam
We are facing problem while using RTF Format in VB and Crystal Reports as described below:
Background:
-We are using RichTextBox control in VB form to enter textual information.
-This data is stored in MS Access table in a memo type field.
-We are generating a report from this data report in crystal reports.
Problem Description
-When we use tabs in the data, tab spaces are displayed properly in RichTextBox but in Crystal Reports these tab spaces are disturbed.
-Multiple line of text as set in RichTextBox are not shown in same format in RichTextBox.
-When we underline one line in RichTextBox complete data is underlined in Crystal Reports. This problem occurrs in Windows XP but not in Windows 98.
Example:
Data as entered in RichTextBox in VB
My Name : ABCD (3 tabs added after Name)
Correspondance Address : Chandigarh (1 tab added after Address)
Qualification : Masters degree in Computer Application from Punjab
University in May, 2001.
Data as displayed in Crystal Reports
My Name : ABCD
Correspondance Address : Chandigarh
Qualification : Masters degree in Computer Application from Punjab
University in May, 2001.
i.e. The Formatting as seen in RTB of VB changes when the data is seen in Crystal Reports
Note :
When we save the RTF format as generated by RichTextBox as a file and open it with MS Word, the formatting as dispalyed by MS Word is different then as set in RichTextBox.
If anybody have suggestions to above problem, please let me know.
Thanks
We are facing problem while using RTF Format in VB and Crystal Reports as described below:
Background:
-We are using RichTextBox control in VB form to enter textual information.
-This data is stored in MS Access table in a memo type field.
-We are generating a report from this data report in crystal reports.
Problem Description
-When we use tabs in the data, tab spaces are displayed properly in RichTextBox but in Crystal Reports these tab spaces are disturbed.
-Multiple line of text as set in RichTextBox are not shown in same format in RichTextBox.
-When we underline one line in RichTextBox complete data is underlined in Crystal Reports. This problem occurrs in Windows XP but not in Windows 98.
Example:
Data as entered in RichTextBox in VB
My Name : ABCD (3 tabs added after Name)
Correspondance Address : Chandigarh (1 tab added after Address)
Qualification : Masters degree in Computer Application from Punjab
University in May, 2001.
Data as displayed in Crystal Reports
My Name : ABCD
Correspondance Address : Chandigarh
Qualification : Masters degree in Computer Application from Punjab
University in May, 2001.
i.e. The Formatting as seen in RTB of VB changes when the data is seen in Crystal Reports
Note :
When we save the RTF format as generated by RichTextBox as a file and open it with MS Word, the formatting as dispalyed by MS Word is different then as set in RichTextBox.
If anybody have suggestions to above problem, please let me know.
Thanks