Load data no Field Names Bug?
Posted: Fri 05 Feb 2010 21:10
Hello once again.
1. I put a TVirtualTable onto DataModule,
2. open VirtualTable Editor ... (with double click on VT)
3. load data from *.vtd file saved from another app (which was created by assigning TMyTable dataset).
4. close VirtualTable Editor with Save button (to store loaded data)
5. Then if I open Fields Editor (form VT context menu) I see all fields but ... no names in Object Inspector!
Top row of Object Inspector shows i.e.:
Such DataSet cannot be used in runtime preventing application from run with error i.e.: Class TLargeInt not found...
I inspected such Erroneus VT with "View as Text" and it looks like below:
It clearly shows that no names are assigned. VT v 6.80.0.51.
1. I put a TVirtualTable onto DataModule,
2. open VirtualTable Editor ... (with double click on VT)
3. load data from *.vtd file saved from another app (which was created by assigning TMyTable dataset).
4. close VirtualTable Editor with Save button (to store loaded data)
5. Then if I open Fields Editor (form VT context menu) I see all fields but ... no names in Object Inspector!
Top row of Object Inspector shows i.e.:
Code: Select all
TStringField
I inspected such Erroneus VT with "View as Text" and it looks like below:
Code: Select all
...
object TLargeintField
FieldName = 'id'
end
object TStringField
FieldName = 'kod'
Size = 32
end
object TStringField
FieldName = 'grupa'
Size = 64
end
...