Subject Re: [IBO] Converting tables structure from Dbf to FB
Author Chuck Belanger
Besides the Clevercomponent datapump, I also use the OD Datapump. Too often, the
OD Datapump will work when the Clevercomponent does not. So I have and use both.
Clearly the Clevercomponent is easier to use.

Make sure you set up the BDE for the table (which I forget to do a lot).

I came from FoxPro so initially did a lot of DBF to FB conversions. Now I'm
pretty much working with FB exclusively.

Chuck Belanger

tomjanczkadao wrote:

> 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
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.0.409 / Virus Database: 268.15.15/581 - Release Date: 12/09/2006