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!
EListError - List index out of bounds (0) - with any table..
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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).
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).