DBRichView - Application Freeze

General TRichView support forum. Please post your questions here
Post Reply
nicolas
Posts: 3
Joined: Wed Feb 13, 2013 11:35 am
Location: France
Contact:

DBRichView - Application Freeze

Post by nicolas »

i use a TDBRichview in my application, sometimes i can't re-open the form which contains the TDBRichview (application is frozen and to resolve it, i must close the application by killing process).

It seems that the problem appears when in the field (BLOB in firebird DB) there is the value 2 1 0 8 3 0

The version of my TBRichView is 14.7

Did you ever had this matter before ?

Thank for your help.

Example :
-8 1 3
-7 0 -1 0 0 0 0 14737632
-9 2 0 0 0 0 1
rvs
0E01095374796C654E616D65060B4E6F726D616C207465787408466F6E744E616D650605417269616C07556E69636F6465090001095374796C654E616D65060A466F6E74205374796C65085374616E646172640808466F6E744E616D650605417269616C0001095374796C654E616D65060B4E6F726D616C2074657874085374616E646172640808466F6E744E616D650605417269616C055374796C650B066673426F6C640007556E69636F6465090000
-9 2 0 0 0 0 2
rvs
0E01095374796C654E616D65060950617261677261706804546162730E000000
-9 2 0 0 0 0 4
rvs
0E00
-9 0 0 0 0 0 7
-9 2 0 0 0 0 3

000000001900000005000000050000000500000005000000000000000000000000
2 1 0 8 3 0
4D0061007100750065007400740065002000700072006F00730070006500630074007500730020003200200070006100670065007300
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The line started from "2" (or any zero or positive number) is simply a text line. It should not cause problem.

There is only one known problem, it happens if:
1) db-components are located in non-main form
2) dataset is active already in designtime
3) the field contains table (TRVTableItemInfo).
A workaround for this problem is making dataset inactive at designtime and activate it in FormCreate.

If this is not your case, can you send me a simple project to reproduce?
nicolas
Posts: 3
Joined: Wed Feb 13, 2013 11:35 am
Location: France
Contact:

Post by nicolas »

Thanks for your response.

To clarify :

I work with 2 TQuery (Master and Detail) located in DataModule. For reasons of performance, Data of TQuery (detail) are loaded in TClientDataSet and i work with the TClientDataSet. At the end data of CDS are saved in TQuery (Detail)

Data of CDS are displayed in TMSAdvDBGrid, the problem occurs when i scroll the TMSAdvDBGrid.

I will try to move the TQuery and CDS in form.

For point 2 and 3, DataSet is not active in designtime and the field doesn't contains table (TRVTableItemInfo)

Regards
nicolas
Posts: 3
Joined: Wed Feb 13, 2013 11:35 am
Location: France
Contact:

Post by nicolas »

Hello Sergey,

The problem is resolve and it wasn't due to the DBRichview. (problem with DBGrid now resolve)

Best regards
Post Reply