Exception: EClassNotFound TStringField

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Eurocg
Posts: 14
Joined: Tue 15 Jul 2008 08:11
Location: Germany

Exception: EClassNotFound TStringField

Post by Eurocg » Fri 10 Oct 2008 13:27

Drop two VT on a form.
1 VT: Click property 'FieldDefs' and make some fields (T1, T2, T3). Now open 'VirtualTable Editor ...' and make some rows with data. All works fine.

2. VT: Click 'Field Editor ...' and make some fields (T1, T2, T3). Now open 'VirtualTable Editor ...' and make some rows with data and save. Now open 'VirtualTable Editor.. ' again and add or delete some rows. Compile and run >>> Exception !!!

See also Topic: http://devart.com/forums/viewtopic.php?t=10270

If i use 'Field Editor' instead of 'FieldDef' to declare some fields, the name of the fields are lost after save some things in VirtualTable Editor.

Is this a bug??

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 14 Oct 2008 13:21

We have reproduced this problem, and we are working on it. You will be notified when we fix the problem.

Fields in the form declaration in *.pas file are removed after you edit data in VirtualTable. As a workaround you can recreate fields in the Fields Editor each time after you edit data.

Post Reply