EListError - List index out of bounds (0) - with any table..

General TRichView support forum. Please post your questions here
Post Reply
photoStu
Posts: 2
Joined: Sat Sep 27, 2008 8:46 pm

EListError - List index out of bounds (0) - with any table..

Post by photoStu »

DBRichViewEdit v.10.4
Interesting problem:
If a any table is present in DBRichViewEdit - is an error at opening: "List index out of bounds (0)"

Lines, text or pictures, are saved in the DBRichViewEdit (BLOB field) - all is normal, but as soon as I place a table, an EListError appears! This error with any table - or done by RichViewActions or simply copied from MS Word).

An insertion and saving of tables work perfectly. After an insertion I see this table. Why I can not open a Form with (open DataSet), if a table is there present in DBRichViewEdit ?

But if tables are not present in DBRichViewEdit - all OK...

Please help!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There is a known problem with TDBRichView[Edit] and tables.
It occurs when:
- TDBRichView[Edit] is placed on non-main form;
- It is linked to the table what is active by default.

The exception occurs when the form is shown, if the current record includes document with tables.

Workaround:
- link it to inactive table, and open this table in FormCreate;
or
- link TDBRichView[Edit] to this table only in FormCreate (for example, by assigning DataField property in code).
photoStu
Posts: 2
Joined: Sat Sep 27, 2008 8:46 pm

Post by photoStu »

Thank's!
Post Reply