trichview.support
Re: problem with tDBRichviewEdit and sql2000 image type |
Author |
Message |
Sergey Tkachenko |
Posted: 09/17/2002 18:25:23 Is this problem solved or not? If yes, problem was in not-saving collection of styles (representing formatting) in the database field. Actions add new styles. By default, styles are not saved together with documents, so part of formatting is lost. Loading such documents generates an error, and they are loaded as a plain text. > I did ! > I don't understand yet how ..maybe I should have read more in the help > files..... > > Thank you. > > "Sergey Tkachenko" <[email protected]> wrote in message > news:[email protected]... > > Right-click DBRichViewEdit in Delphi, choose "Settings" in the menu, > select > > "Allow adding styles dynamically". > > I hope this will help. > > > > > > > I use Delphi 5 pro with ado and sql 2000 as DB > > > > > > I create a form with a tDBRichviewEdit and a TRVstyle component, an ADO > > > connection and a ADOquery that retrieves image type fields. This field > is > > > linked with the Richview component. > > > > > > In Word , I open your readme.rtf (from ReadViewActions) , select all and > > > copy to the clipboard. > > > > > > In Delphi, insert record and paste. All Appears OK, insert another and > > > paste... scroll back... all OK. > > > When I close and reopen the project, instead of the original documents, > > the > > > text is a kind of deformatted version, beginning with > > > -8 1 2 > > > 2 3 0 0 0 > > > and then the deformatted text > > > > > > All options are default.. > > > > > > BUT THEN, when I add another record and paste again, that one is ok AND > SO > > > are suddenly all the previous records... > > > What is triggering this ? > > > Am I missing something ? > > > > > > Thank You > > > > > > > > > > > > > > > > > > |
Powered by ABC Amber Outlook Express Converter