Subject | Converting tables structure from Dbf to FB |
---|---|
Author | tomjanczkadao |
Post date | 2006-12-10T12:07:50Z |
Hi
What is the easiest way to convert table with data from dbf to FB?
Most important is to convert table structure, fields, becasue i got
lot of dbf tables and i need to put them to FB database, as much
automatically as it's possible. I tried do something like that:
SourceDbf: TDBF;
DestFBtable: TIBOTable;
DestFBtable.FieldDefs.Assign(SourceDbf.FieldDefs);
DestFBtable.CreateTable;
but it doesn't work.
Data pumpin' seems to be easy, if i got table structure with same
field names and corresponding field types.
Regards, Tomek
What is the easiest way to convert table with data from dbf to FB?
Most important is to convert table structure, fields, becasue i got
lot of dbf tables and i need to put them to FB database, as much
automatically as it's possible. I tried do something like that:
SourceDbf: TDBF;
DestFBtable: TIBOTable;
DestFBtable.FieldDefs.Assign(SourceDbf.FieldDefs);
DestFBtable.CreateTable;
but it doesn't work.
Data pumpin' seems to be easy, if i got table structure with same
field names and corresponding field types.
Regards, Tomek